Magic Trick solutions

Magic Trick was solved using PHP by 214 contestants. Solution sizes: average 1691 bytes (shortest: 565; longest: 17913).

The list below is sorted by solution size. You can also sort by ranking.