Aerobics solutions

Aerobics was solved using Ruby by 4 contestants. Solution sizes: average 1347 bytes (shortest: 715; longest: 2032).