import os t=1 for x in os.read(0,1e3):t^='"'==x;os.write(1,x*(x>" "*t))