Rosetta Problems

Free Contest 143 - IPATH

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