Anand Vijayan's submission of Johnny and the Beanstalk | CodeChef