Magic Trick solutions

Magic Trick was solved using Python by 4135 contestants. Solution sizes: average 991 bytes (shortest: 306; longest: 10952).

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