codeforces 985A Chess Placing

NoSuchKey