Let the numbers be 37a and 37b.Then, 37a x 37b = 4107 ab = 3.Now, co-primes with product 3 are (1, 3).So, the required numbers are (37 x 1, 37 x 3) i.e., (37, 111). Greater number = 111.
The number students in each room = HCF of 70,98 and 126 =14 In each room , maximum 14 students can be seated. Total number students = 70 + 98 +126 =294 Number of rooms required = 294/14 =21