codechef AUG cookoff problem 1