amarmalik's submission of Stacks | CodeChef