while True: try: list1=[x for x in input()] list2=[] for x in list1: if x in list2: continue else: list2.append(x) print(''.join(list2)) except: break
while True: try: list1=[x for x in input()] list2=[] for x in list1: if x in list2: continue else: list2.append(x) print(''.join(list2)) except: break