Magic Trick solutions

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

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