Soroban Fixed by pv2b

S=' | ','<->'
T=a,b='=*=','==='
n=raw_input()
def f(c,s=T,g=1):
 for j in range(c):print''.join(s[int(N)/g%c==j]for N in n)
f(1)
f(2,S,5)
l=len(n)
print~-l%4*b+a+l/4*(3*b+a)
f(5,S[::-1],1)
f(1)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page