Lalita Patidar's submission of Bear and Ladder | CodeChef