WA IN PIPSQUIK ||please help||

https://www.codechef.com/viewsolution/34565355