~/algor $ cat problems/string-harflar-va-raqamlar
Letters and digits
Easy
1000 ms
128 MB
24%
A string $s$ of Latin letters, digits and spaces is given. Find the number of letters and the number of digits in it.
Input
One line containing the string $s$.
Output
One line with two space-separated integers: the number of letters and the number of digits.
Note
$1 \le |s| \le 10^{5}$
$s$ consists of Latin letters (uppercase and lowercase), digits and spaces
$s$ 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