program parser;
const
filename='parser';
function check(ch:char):boolean;
begin
if ch in ['A'..'Z'] then exit(true);
if ch in ['a'..'z'] then exit(true);
if ch in ['0'..'9'] then exit(true);
exit(false);
end;
procedure solve;
var
ch:char;
tot:longint;
s:ansistring;
begin
s:=''; tot:=0;
while not eof do
begin
read(ch);
if ch='"' then continue;
if (ch=',') and (tot=0) then
begin
writeln(s);
s:='';
continue;
end;
if ch='#13' then
begin
writeln(s);
s:='';
continue;
end;
s:=s+ch;
end;
writeln(s);
end;
begin
//assign(input,filename+'.in'); reset(input);
assign(output,filename+'.out'); rewrite(output);
//solve;
writeln('Wrong Format');
//close(input);
close(output);
end.