Count words
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Text contains sequence of words separated with spaces. Each word consists of uppercase or lowercase letters. Count the number of words that contain at least uppercase letters.
Input
The first line contains one positive integer . Text is given starting from the second line. Text can contain multiple lines. Text contains letters of English alphabet (uppercase or lowercase) and spaces only.
Output
Print the number of words that contain at least uppercase letters.
Examples
Input #1
Answer #1
Submissions 163
Acceptance rate 55%