Magic Trick solutions

Magic Trick was solved using OCaml by 29 contestants. Solution sizes: average 1144 bytes (shortest: 494; longest: 2165).

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