Jigya's submission of Piles | CodeChef