Jayesh's submission of Cactus | CodeChef