cat(gsub("(...)( \\W\\S ) "," \\2\\1",readChar("stdin",257)))