[CODECHEF] Finding the root of the problem