Codeforces Round #539--1113B - Sasha and Magnetic Machines

NoSuchKey