Curiosity Has No Limits

Problem Name:
Curiosity Has No Limits
Site:CodeForces
Links:
Tags:
Problem setters: