var s, s_new: string; i: integer; begin read(s); for i := 1 to length(s) do s_new := s_new + s + ' '; writeln(s_new); end.