Vova and Train

Problem Name:
Vova and Train
Site:CodeForces
Links:
Tags:
Problem setters: