#39114: Python 一行解


christang426859.2@gmail.com (油蔥)


利用map映射lambda函數,再sum起來就好了
print(sum(map(lambda x: ord(x)-ord('A')+1, input())))