Fafa and Ancient Alphabet

Problem Name:
Fafa and Ancient Alphabet
Site:CodeForces
Links:
Tags:
Problem setters: