Andrii Maksai's submission of Daily Train | CodeChef