In a class, the average score of girls in an examination is 80 and the average score of boys is 90. If the average score of the whole class is 87, find the percentage of boys in the class.