(io.Source.stdin.getLines:\())((l,_)=>println((l split" "reverse)mkString" "))