# 剔除重复字符,求字符长度 s = input() num = '' for i in s: if i not in num: num = num+i print(len(num))