Rosetta Problems

Is there a path?

https://kep.uz/practice/problems/problem/1018