Plz help me remove TLE...Simple Java Program...Plz..

Problem ::

My solution ::
http://www.codechef.com/viewsolution/2571262

//