Codeforces - 985E Pencils and Boxes

NoSuchKey