5 lines
118 B
Python
5 lines
118 B
Python
arr = [-1]*26
|
|
s = input()
|
|
for i in range(len(s)):
|
|
if (arr[ord(s[i])-97] == -1) : arr[ord(s[i])-97] = i
|
|
print(*arr) |