Fafa and Ancient Alphabet

CodeForces - 935D