s=t='' for c in raw_input(): if'.''.'] print s