#4554. camel Case
0
camel Case
camel Case
题目描述
You are given a string consisting of uppercase and lowercase English letters.
Here, exactly one character of is uppercase, and the others are all lowercase.
Find the integer such that the -th character of is uppercase.
Here, the initial character of is considered the -st one.
输入格式
The input is given from Standard Input in the following format:
输出格式
Print the integer such that the -th character of is uppercase.
aBc
2
xxxxxxXxxx
7
Zz
1
提示
The -st character of is , the -nd is , and the -rd is ;
the -nd character is uppercase.
Thus, should be printed.
An uppercase letter occurs as the -th character of , so should be printed.
标签: AtCoder|abc291A
来源
AtCoder|abc291A