rohan's submission of Tree Upshot | CodeChef