Vichitr's submission of Problem 21 | CodeChef