Ryodan's submission of Snake and Apple Tree | CodeChef