Tanmay Datta's submission of Stacks | CodeChef