Reachable Numbers

Problem Name:
Reachable Numbers
Site:CodeForces
Links:
Tags:
Problem setters: