https://www.codechef.com/viewsolution/32804449
Why Iam getting WA
overflow
Thankyou!! It worked Finally