read a sequence with Scanner(System.`in`) in kotlin code example Example: kotlin read input as int readLine()!!.toInt()