Yordan Chaparov's submission of Daily Train | CodeChef