Solution to the problem number 443A of Codeforces - 443A.

Any questions do not hesitate to contact.

/* Visit: https://isaaclo97.github.io/Programacion.html
 * Author: isaaclo97
 * Time: 2019-11-04 00:08:41
**/

#include <bits/stdc++.h>
#define INF 0x3f3f3f3f
using namespace std;

typedef long long ll;

int main() {
    string line; getline(cin,line);
    set<int> S;
    for(unsigned int i=0; i<line.length();i++){
        if(line[i]=='{'||line[i]=='}'||line[i]==' '||line[i]==',') continue;
        S.insert(line[i]);
    }
    printf("%d",S.size());
    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!