Educational Codeforces Round 46 (Rated for Div. 2) B - Light It Up

NoSuchKey