初学者,请编的简单明了

img


s = input()
res = ''
for i in s:
    if i not in res:
        res += i
print(res)