Mikhail Kever's submission of Daily Train | CodeChef