Running in Pairs

Problem Name:
Running in Pairs
Site:CodeForces
Links:
Tags:
Problem setters: