Anuj Maheshwari's submission of Inventon | CodeChef