#K64312. String Character Analysis
String Character Analysis
String Character Analysis
You are given a string s. Your task is to count the number of uppercase letters, lowercase letters, and digits in s. Formally, let \( U \) be the number of uppercase English letters, \( L \) be the number of lowercase English letters, and \( D \) be the number of digits (0-9) in the string. Output these three numbers separated by a space.
Example:
For the input "HelloWorld123", the output should be "2 8 3" because there are 2 uppercase letters, 8 lowercase letters, and 3 digits.
inputFormat
The input consists of a single line containing a string \( s \). The string may contain letters, digits, spaces, and special characters. It can also be empty.
outputFormat
Output three integers separated by a space. The integers represent the number of uppercase letters \( U \), lowercase letters \( L \), and digits \( D \) in the input string, respectively.
## sampleHelloWorld123
2 8 3