Vichitr's submission of Problem 28 | CodeChef