python3

str = input()
num = 0
list = []
for i in str:
if ord(i)>=0 and ord(i)<=127 and i not in list:
list.append(i)
num += 1
print(num)