Gaurav Chandak's submission of Daily Train | CodeChef