I am not able to find the bug please guys help me http://codeforces.com/contest/2/submission/44475190