D. Yarik and Musical Notes Codeforces Round 909 (Div. 3) 1899D

NoSuchKey