JAY KUMAR's submission of Bear and Ladder | CodeChef