Igor and his way to work

Problem Name:
Igor and his way to work
Site:CodeForces
Links:
Tags:
Problem setters: