Magic Trick solutions

Magic Trick was solved using Scheme by 8 contestants. Solution sizes: average 3353 bytes (shortest: 518; longest: 18675).