def fuc(s): y = '' for i in s: if i not in y: y = y + i return len(y) print(fuc(input()))
1.去重、定义空字符串2.计算去重后的字符串长度