Magical Number-B

Problem Name:
Magical Number-B
Site:HackerEarth
Links:
Tags:
Problem setters: