Rosetta Problems

Free Contest 113 - TRIPLEINC

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