Nastya and Unexpected Guest

Problem Name:
Nastya and Unexpected Guest
Site:CodeForces
Links:
Tags:
Problem setters: