Files
CodeObject/zeta_python/completed/10809.py
2019-11-15 03:29:24 +09:00

10 lines
187 B
Python

from sys import *
c=0
D=[]
I=[ord(i)-97 for i in stdin.readline().rstrip()]
for i in range(26):
try:D.append(I.index(i))
except:D.append(-1)
D=list(map(str,D))
print(" ".join(D))