{"raw_statement":[{"iden":"problem statement","content":"You are given a string $S$ consisting of uppercase and lowercase English letters.  \nHere, exactly one character of $S$ is uppercase, and the others are all lowercase.  \nFind the integer $x$ such that the $x$\\-th character of $S$ is uppercase.  \nHere, the initial character of $S$ is considered the $1$\\-st one."},{"iden":"constraints","content":"*   $S$ is a string of length between $2$ and $100$, inclusive, consisting of uppercase and lowercase English letters.\n*   $S$ has exactly one uppercase letter."},{"iden":"input","content":"The input is given from Standard Input in the following format:\n\n$S$"},{"iden":"sample input 1","content":"aBc"},{"iden":"sample output 1","content":"2\n\nThe $1$\\-st character of `aBc` is `a`, the $2$\\-nd is `B`, and the $3$\\-rd is `c`; the $2$\\-nd character is uppercase.  \nThus, $2$ should be printed."},{"iden":"sample input 2","content":"xxxxxxXxxx"},{"iden":"sample output 2","content":"7\n\nAn uppercase letter `X` occurs as the $7$\\-th character of $S=$`xxxxxxXxxx`, so $7$ should be printed."},{"iden":"sample input 3","content":"Zz"},{"iden":"sample output 3","content":"1"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}