Penn and Teller Fool Us ("Spoilers" OK)

And on some further and final analysis, I speculate that Einhorn had a “set” of envelopes ready for each possible iteration of the serving trays, and produced the relevant envelope set once he knew where each meal was placed.