Vivek Gupta's submission of Stacks | CodeChef