print((lambda pw=input(): "".join([str(abs(ord(pw[i]) - ord(pw[i-1]))) for i in range(1, len(pw))]))())
其實應該可以寫長一點比較好,但壓縮成一行也滿好玩的