codechef march challenge and codeforces comp 238