in python. Akash, the director of the famous Timus Coaching Institute was very happy after the results of the Entrance EXamination, and decided to distribute sweets to the students according to their test scores. He shall distribute sweets according to the following conditions ) Every student must get atleast one sweet i) A studentwith higher Score gets more number of sweets than all students who scored less than him Heip Akash to find out the minimum number of sweets that need to be distributed. Since the answer can be very large output it modulo 10 7 Input The input consists of 3 lines. The first line oontains T T test cases, The second line consists ofasngleinterger N 10 ) denoting the humber of =N

"Get 15% discount on your first 3 orders with us"
Use the following coupon

Order Now