#include <bits/stdc++.h>
using namespace std;
#define int long long
// #define LL long long
#define endl '\n'
map<char, int> mp;
void solve()
{
char c;
int upper = 0, lower = 0, digit = 0;
while (cin >> c)
{
if (cin.eof()) break;
if (isupper(c)) upper++;
if (islower(c)) lower++;
if (isdigit(c)) digit++;
}
cout << upper << endl << lower << endl << digit;
}
signed main()
{
ios::sync_with_stdio(0);
cin.tie(0), cout.tie(0);
solve();
return 0;
}
0 回复
0 转发
0 喜欢
0 阅读



