try:
while True:
n = int(input())
if n == 19:
print(n)
break
except EOFError:
print("IMPOSSIBLE")
dHJ5OgogICAgd2hpbGUgVHJ1ZToKICAgICAgICBuID0gaW50KGlucHV0KCkpCiAgICAgICAgaWYgbiA9PSAxOToKICAgICAgICAgICAgcHJpbnQobikKICAgICAgICAgICAgYnJlYWsKZXhjZXB0IEVPRkVycm9yOgogICAgcHJpbnQoIklNUE9TU0lCTEUiKQo=