Train and Peter

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