Codechef September Challenge, ChefAndLeftRight. AC.