经典python压行 [doge] 用set就直接好力!

print(len(set(input())))

#牛客春招刷题训练营# + 链接