Divyesh Srivastava's submission of Inventon | CodeChef