eolymp
bolt
Try our new interface for solving problems
Problems

Indexes of letter

Indexes of letter

Print all indexes of the small Latin letter a in the given string, assuming that the first character has index 0.

Input

One line of the text, that consists of Latin letters, separators and spaces only.

Output

Print all the indexes of the letter a in one line. If letter a is not found in the string, then print -1.

Time limit 1 second
Memory limit 128 MiB
Input example #1
abrakadabra
Output example #1
0 3 5 7 10
Input example #2
Hello, world!
Output example #2
-1
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"