Spell of Doom

Problem Name:
Spell of Doom
Site:HackerEarth
Links:
Tags:
Problem setters: