CodeForces 258B Little Elephant and Elections

NoSuchKey