plz check my code for http://www.codechef.com/LTIME16/problems/CHEFA(python)

Link Deleted##

//