Magic Trick solutions

Magic Trick was solved using Racket by 5 contestants. Solution sizes: average 1784 bytes (shortest: 505; longest: 3922).