while(1>0){val s=readLine;println(s grouped s.size/2 mkString" ")}