In a classroom, there are a total of 40 students. The ratio of boys to girls is 3:5. Each boy has 2 pencils, and each girl has 3 pencils. If all the students combined have a total of 105 pencils, how many boys and how many girls are there in the classroom? Let's think step by step and output the final answer within \boxed{}.
user