rohan's submission of Stacks | CodeChef