for(string c;(c=getc(stdin))>"";write(c==" "?c:"0",none));