Today, you will fight with medieval knights. And as they move boldly to meet death, killing each other with iron swords, you fight wisely. For this we consider a good playground. Her various balls. Some of these balls are identical. You need to change two places the ball so that the identical happened more than two in a row.