Given lines. For each line, it is necessary to determine its type:
• purely text line – contains only Latin alphabet letters (both lowercase and uppercase);
• numeric line – contains only digits;
• mixed line – contains Latin letters, digits, and other symbols simultaneously.
Your task is to count the number of lines of each type.
The first line contains an integer (1 \leq N \leq 10^4) – the number of lines in the input data.
The next lines contain the actual lines. The length of each line does not exceed 10^4 characters.
Print three numbers separated by spaces:
• the number of purely text lines;
• the number of numeric lines;
• the number of mixed lines
Przykład 1