Codeforces 1159A A pile of stones

NoSuchKey