Solutions of codechef problems