Rosetta Problems

EJOI 2022 - Game With Numbers

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