Rosetta Problems

Free Contest 77 - DELPALIN

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