Wrong answer solution for Chef and Left-Right problem - http://www.codechef.com/SEPT14/problems/CHEFLR