#include <iostream>
using namespace std;
bool arr[127];
int main() {
string str;
cin >> str;
int sum = 0;
for (auto c : str) {
if (!arr[c]) {
sum++;
arr[c] = 1;
}
}
cout << sum << endl;
}

京公网安备 11010502036488号