You need to write a program that prints dates and times in a special format. Hours, minutes, and seconds are split by a colon, and day, month, and year are split by a slash. Take a look at the examples below.
You can read three numbers in a line this way:
val (a, b, c) = readLine()!!.split(' ')
// or since Kotlin 1.6
val (d, e, f) = readln().split(' ')