Codeforces Round #586 (Div. 1 + Div. 2) E. Tourism

NoSuchKey