Ticket Swapping solutions

Ticket Swapping was solved using D by 4 contestants. Solution sizes: average 2762 bytes (shortest: 1433; longest: 3481).