a=System.in.text;a.each{print a;a=a.split(/(?<= |^)./).join" "}