z=48;main(i){for(;i=getchar()-10;)putchar(z^=i%2);}