Rosetta Problems

Beginner Free Contest 55 - MAGICWISH

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