Educational Codeforces Round 32 E. Maximum Subsequence

NoSuchKey