A student is given five random cards from a standard deck of 52 cards. He must choose four cards to reveal to his professor and the order in which to reveal them; his goal is to reveal four cards in such a way that the professor knows what the fifth hidden card is. How does he do this?

Communicated by Jeff Miller.
cards