Rosetta Problems

Free Contest 22 - XYZ

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