Codeforces 1153 B Serval and Toy Bricks

NoSuchKey