var c:char;i:word;begin repeat i:=ord(eoln);read(c);write("0":1-i,^j:i)until 1=0end.