Rudolf and the Ticket

Problem Name:
Rudolf and the Ticket
Site:CodeForces
Links:
Tags:
Problem setters: