gets eval"M=[#{[*'a'..'z']*'='}=0]*$$"+';eval scan(/(\w)(\d+|\w)/)[~-c+=1].map{|*_|(_*?A+["M[p+?#{_}-?A]"]*26+_*14+["getc"]+_*5+["putc o"]+_*10)[_[0][o=0]]}*"-="'*$$