Ticket Swapping solutions

Ticket Swapping was solved using MATLAB by 2 contestants. Solution sizes: average 1962 bytes (shortest: 1462; longest: 2463).