~/algor $ cat problems/string/number-of-letters-and-digits
Number of letters and digits
Easy
1000 ms
128 MB
24%
A string is given. Find the number of letters and the number of digits in it.
Input
One line containing the string .
Output
One line with two space-separated integers: the number of letters and the number of digits.
Note
consists of Latin letters (uppercase and lowercase), digits and spaces
does not start or end with a space
Examples
Input #1
Algor 2026 yil
Output #1
8 4
Input #2
12345
Output #2
0 5