In a class, the ratio of girls to boys is 3:4. If there are 9 girls in the class, how many boys are there?