Vichitr's submission of Problem 25 | CodeChef