Rosetta Problems

Free Contest 149 - FINAL

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