Soumyadeep Roy's submission of Stacks | CodeChef