Codeforces191 C. Fools and Roads

NoSuchKey