Codefoces 793G Oleg and chess

NoSuchKey