In a grade 6 Mathematics class, there are 27 boys and 21 girls. What is the ratio of boys to the total number of students?