Inspecting Spells

Problem Name:
Inspecting Spells
Site:CodeForces
Links:
Tags: