#C2174. Count Uppercase Letters

    ID: 45461 Type: Default 1000ms 256MiB

Count Uppercase Letters

Count Uppercase Letters

You are given a series of test cases. For each test case, you are provided with a string. Your task is to count the number of uppercase English letters in each string and output the counts.

Input Format: The first line of input contains a single integer \(T\) representing the number of test cases. The following \(T\) lines each contain a single string.

Output Format: For each test case, output the count of uppercase letters on a new line.

Pay special attention to reading from standard input and writing to standard output.

inputFormat

The first line contains an integer \(T\) (the number of test cases). Each of the next \(T\) lines contains a string consisting of alphanumeric characters and possibly other symbols.

outputFormat

For each test case, output a single integer denoting the number of uppercase English letters in the given string. Each result should be printed on a separate line.

## sample
3
HelloWorld
PythonProgramming
CodeChallenge
2

2 2

</p>