Puzzle

Take the deck of cards and select from it 4 cards of the red suit and 4 cards of the black suit. Then place on the table a row of these eight cards as follows: red, black, red, black, red, black, red, black. Ask any spectator to solve such a problem, let the spectator, choosing two adjacent cards, transfer them to another place of the series in such a way that after four movements the following sequence turns out: red, red, red, red, black, black, black, black. The solution of this problem is: 2 and 3 are transferred to 9 and 0 places, 5 and 6 are transferred to 2 and 3 places, 8 and 9 are transferred to 5 and 6 places, 1 and 2 are transferred to 8 and 9 places. To make it easier to remember, you can use a numeric combination: 2390-5623-8956-1289.