manas agrawal's submission of Stacks | CodeChef