_=map(int,raw_input()) while _:print`_`[1::3];_=[abs(x-y)for x,y in zip(_,_[1:])]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page