Rosetta Problems

Free Contest 11 - WORDPOW

https://oj.vnoi.info/problem/fc011_wordpow