<image>To understand the weight distribution of students preparing to apply for the pilot program at our school this year, the collected data was organized and a frequency distribution histogram was drawn (as shown in the ). It is known that the ratios of the frequencies of the first three groups from left to right are 1:2:3, and the frequency of the second group is 12. Therefore, the number of students sampled is __________.