There are 3 more girls than boys in Tom 's class , and the sum of girls and boys is 41 . How many boys are in the class? How many girls are in the class?