Karthik's submission of Consecutive Snakes | CodeChef