#No587 taishou = input() alphabet = [chr(i) for i in range(97, 97+26)] for i in alphabet: if taishou.count(i) == 1: print(i) else: print('Impossible')