Codeforces 1229A. Marcin and Training Camp

NoSuchKey