题解 | #提取不重复的整数#
提取不重复的整数
http://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
a=input()
b=""
for i in range(1,len(a)+1):
if a[-i] not in b:
b+=a[-i]
else:
continue
if b[0] == 0:
print(b[1:])
else:
print(b)