fun main(args: Array) { s16() } fun s16() { val n = readLine()!!.toInt() for (i in 1..n) { println( when { i % 15 == 0 -> "FizzBuzz" i % 3 == 0 -> "Fizz" i % 5 == 0 -> "Buzz" else -> i.toString() } ) } }