Dinesh Goyal's submission of Johnny and the Beanstalk | CodeChef