[Codeforces 17C] Balance

NoSuchKey