Rosetta Problems

Free Contest 29 - TRIP

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