The 2nd student made a better deal
On a 30 day month he earns Rupees 2^29 = 53,68,70,912
ie., 43,68,70,912 more than what student 1 would earn
Even on the month of February (Non leap) with 28 days
Student 2 earns more as 2^27 = 13,42,17,728 > 10,00,00,000/-
by 3,42,17,738/-