Codeforces 266A Stones on the Table

NoSuchKey