CodeForces - 835E The penguin's game

NoSuchKey