for(;l=readline(x=0);)print(l.replace(/\S/g,function()l.match(/"))