Rosetta Problems

Free Contest 70 - FUNCTION

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