Core Training solutions

Core Training was solved using Kotlin by 6 contestants. Solution sizes: average 2114 bytes (shortest: 1100; longest: 3655).