ascii = ord( input() )
print(ascii)
N = int(input())
str_ = map(int, input())
s = sum(str_)
print(s)
string = input()
alpabetList = [-1]*26
for i in string:
index_ = int(ord(i)) - 97
alpabetList[index_] = string.index(i)
# 출력문
for i in range(26):
print(alpabetList[i], end=" ")
https://wikidocs.net/13#2index
https://www.geeksforgeeks.org/python-list-index/