Maciej Dulęba's submission of Stacks | CodeChef