char*p;main(i,l){for(gets(l);puts(p=l)>2;)for(;*p++=p[1]?48+abs(*p-p[1]):0;);}