Core Training solutions

Core Training was solved using Groovy by 2 contestants. Solution sizes: average 1780 bytes (shortest: 1448; longest: 2112).