#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string str;
vector<int> count(200);
int res = 0;
cin >> str;
for(char c: str){
if(count[c] == 0){
res++;
count[c]++;
}
}
cout << res << endl;
return 0;
}
// 64 位输出请用 printf("%lld")



京公网安备 11010502036488号