Vichitr's submission of Problem 12 | CodeChef