there are 342 boys and girls at the canteen. after 51 boys and an equal number of girls as boys returned to their classroom, there were three times the number of boys than girls in the canteen. How many boys were there in the canteen at first?​