Its all about magic!

Problem Name:
Its all about magic!
Site:HackerEarth
Links:
Tags:
Problem setters: