#ABC291A. [ABC291A] camel Case

[ABC291A] camel Case

Score : 100100 points

Problem Statement

You are given a string SS consisting of uppercase and lowercase English letters. Here, exactly one character of SS is uppercase, and the others are all lowercase. Find the integer xx such that the xx-th character of SS is uppercase. Here, the initial character of SS is considered the 11-st one.

Constraints

  • SS is a string of length between 22 and 100100, inclusive, consisting of uppercase and lowercase English letters.
  • SS has exactly one uppercase letter.

Input

The input is given from Standard Input in the following format:

SS

Output

Print the integer xx such that the xx-th character of SS is uppercase.

aBc
2

The 11-st character of aBc is a, the 22-nd is B, and the 33-rd is c; the 22-nd character is uppercase. Thus, 22 should be printed.

xxxxxxXxxx
7

An uppercase letter X occurs as the 77-th character of S=S=xxxxxxXxxx, so 77 should be printed.

Zz
1