Number of students of Std 6th = 140
Number of students of Std 7th = 196
The maximum number of students in each group will be the greatest common factor of 140 and 196.
Factors of 140 = 1, 2, 4, 5, 7, 10, 14, 20, 28, 35, 70, 140
Factors of 196 = 1, 2, 4, 7, 14, 28, 49, 98, 196
∴ HCF of 140 and 196 = 28
∴ Maximum students in each group are 28.
Each group should have maximum number students so that there will be minimum number of groups and hence minimum number of paid guides.