If of the students are boys, then the ratio of girls is , that is, .
Now, let x be the total number of students.
Thus, we have:
Hence, the total number of students is 640.
Now,
Number of boys = Total number of students - Number of girls
Hence, the number of boys is 400.