There is this problem which I am encountering in this code. I am getting an RTE on the 43rd Test Case when I use Long Long and an RTE on the 38th Test Case when I use INT or LONG INT. Could someone please help me out. 43rd TC RTE- http://mirror.codeforces.com/contest/899/submission/33651158 38th TC RTE- http://mirror.codeforces.com/contest/899/submission/33653175