Kaavi and Magic Spell

Problem Name:
Kaavi and Magic Spell
Site:CodeForces
Links:
Tags: