On a trip, four friends want to play a card game, where $n$ cards must be dealt among the players before the game starts. However, they forgot the cards, so they HAVE TO play with imaginary cards (there is no paper etc. at hand).
The game cannot be played with less than four players, so the friends cannot choose one of them as a dealer, who would randomly shuffle a deck of cards in his mind, and secretly tell each of the others, which cards he gets.
How to solve their problem, i.e., how to (randomly) permute a deck of cards, so that each of the players knows only his $n/4$ cards?
One can use a slight modification of the random coin flip algorithm. As in the latter, it is essential that the cryptographic protocols used by the players are commutative, i.e. it does not matter in which order decryption/encryption with different keys is performed. (E.g. they can XOR the plaintext deck with their own private keys.) Now you do as follows. $A$ shuffles the deck, encrypts each card with his key, and passes the deck to $B$. $B$ shuffles further, encrypts with his own key, and passes the deck to $C$, etc. Once the deck is shuffled and coded by all four players, $A$ decrypts anything but his own cards, i.e. the first $n/4$ cards, then $B$ decrypts anything but the cards $n/4 +1 $ to $n/2$, etc. Finally, they end up with the deck where the cards $1$ to $n/4$ encrypted by $A$'s key; $n/4+1$ to $n/2$, by $B$'s key etc. This can be passed to all players, so everyone can identify his cards (but not the cards of other players).