Ali-Amir Aldan's submission of Daily Train | CodeChef