cf Educational Codeforces Round 45 C. Bracket Sequences Concatenation Problem

NoSuchKey