You are given a word S consisting of lowercase English letters. For every letter from a to z, print the index of its first appearance in S, or -1 if it does not appear.
One line with word S. The length is at most 100 and every character is a lowercase letter.
Print 26 integers separated by spaces: the first index of a, then b, through z. Positions are 0-based.