Codeforces C. Kuro and Walking Route

NoSuchKey