David's submission of Another Tree with Number Theory | CodeChef