Magic Trick solutions

Magic Trick was solved using Kotlin by 3 contestants. Solution sizes: average 1300 bytes (shortest: 695; longest: 2215).