fun main(args:Array) { val n = readLine()!!.toInt() val s = (0..9).zip( "abcdefghei".toList() ).map { val (num, char) = it Pair(num.toString(), char.toString()) }.toMap() val buffs = mutableListOf("an") (1..n-1).map { var numstr = "a%.8fa".format(Math.random()).replace("0.", "") s.map { (s,t) -> numstr = numstr.replace( s, t ) } buffs.add(numstr) } buffs.reversed().joinToString("\n").run(::println) }