d;main(c){for(;read(0,&c,1);putchar(c+c/48*d))d-=~c%3+1;}