#include <iostream>
#include <set>
using namespace std;
int main() {
string str;
while (cin >> str) {
set<char> s ; //使用set容器自动去除重复元素
for ( char& c : str) {
s.insert(c);
}
cout << s.size();
}
return 0;
}

京公网安备 11010502036488号