fun main(){ val x = readLine()!!.toInt() var i = x var j = 0 while (j < x) { var k = 0 while (k < i) { print("*") k++ } println() j++ i-- } }