Magic Trick solutions

Magic Trick was solved using Groovy by 32 contestants. Solution sizes: average 1421 bytes (shortest: 478; longest: 6005).

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