Nisarg Shah's submission of Stacks | CodeChef