Each boy in a group of boys contributed twice as many rupees as they were in number for their trip. The total collection was Rs.1682. How many boys were there in the group?
Each girl in a group of girls contributed as many rupees as the number of boys in the class. The total collection of the class was Rs.1568 and the ratio of the number of boys to that of girls in the class is 1:2. Find the total number of students in the class assuming the boys didn't contribute any money.