Find the indices of the first and last space character in a given string. The indexing of characters starts at .
The input consists of a single string containing only Latin letters, punctuation marks, and spaces.
Print two numbers: the index of the first space and the index of the last space in the string. If there are no spaces in the string, print .
Example 1
Example 2