solved codechef 2014 JULY DISHOWN