Rosetta Problems

Free Contest 29 - OLYMPICS

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