s = input().strip()
s = set(s)
print(len(s))

其实就是算不重复的字符数量