#include <cctype>
#include <iostream>
#include <string>
using namespace std;
int main()
{
string str;
getline(cin, str);
int count = 0;
for (auto i = 0; i < str.size(); i++) {
if (isalnum(str[i])) {
count++;
}
}
cout << count;
return 0;
}
京公网安备 11010502036488号