add_sub_brainfuck_code by hallvabo

p=0
s=''
for c in map(ord,raw_input()):s+='-+'[c>p]*abs(c-p)+'.';p=c
print s

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

download

return top