Vichitr's submission of Problem 14 | CodeChef