题解 | #提取不重复的整数#
提取不重复的整数
https://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
n = input()
li = []
li.extend(n[::-1])
li2 = list(set(li))
li2.sort(key=li.index)
for i in li2:
li = []
li.extend(n[::-1])
li2 = list(set(li))
li2.sort(key=li.index)
for i in li2:
print(i,end="")