Codeforces Round #615 (Div. 3) -F. Three Paths on a Tree

NoSuchKey