First and last appearance#4726

First and last appearance

1 second
128 megabytes
Very easy

One string is given.

Input

One single string with a length not exceeding characters.

Output

Print the result based on the number of occurrences of the letter '' in the string.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading