Core Training solutions

Core Training was solved using JavaScript by 9 contestants. Solution sizes: average 1770 bytes (shortest: 970; longest: 2937).