Codechef IITK1P05 submission