fun main(args:Array<String>){
val ans = readLine()!!.split(",").map { x ->
x.toInt()
}.filter { x ->
x%2 == 1
}.map { x ->
x*x
}.toList()
println(ans)
}
ZnVuIG1haW4oYXJnczpBcnJheTxTdHJpbmc+KXsKICB2YWwgYW5zID0gcmVhZExpbmUoKSEhLnNwbGl0KCIsIikubWFwIHsgeCAtPiAKICAgIHgudG9JbnQoKQogIH0uZmlsdGVyIHsgeCAtPgogICAgeCUyID09IDEKICB9Lm1hcCB7IHggLT4KICAgIHgqeAogIH0udG9MaXN0KCkKICBwcmludGxuKGFucykKfQ==