Soroban Fixed by hallvabo

s=raw_input()
a=len(s)*3
f=lambda x:''.join('< -|> '[eval(x%e)::2]for e in s)
for i in range(10):print(['='*a,f('%s/5'),f('1-%s/5'),(('='*11).join('*'*a)+'=')[-a:]]+[f('%s%%5==i-4')]*5)[i%9]

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

download

return top