Input format should be adjusted


#1

I solved the problem and entered the right answer. but ended up wasting lot of time.