Yerzhan Utkelbayev's submission of Stacks | CodeChef