Vichitr's submission of Problem 16 | CodeChef