Codeforces 1250E The Coronation

NoSuchKey