A participant is given a deck of thirteen cards numerated from 1 to 13, from which he chooses seven and gives them to the assistant. Then the assistant chooses three of these seven cards and the participant – one of the remaining six in his hand. The magician then takes the chosen four cards (arranged by the participant) and guesses which one is chosen from the participant. What should the magician and assistant do so that the magic trick always happens?
Problem
Source: VII International Festival of Young Mathematicians Sozopol, Theme for 10-12 grade
Tags: combinatorics, game strategy