solution to codechef problems