Rosetta Problems

Free Contest 81 - TRANSFORM

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