def fun():
    S = "IGNITION"
    i = int(input()) - 1
    return S[i]


print(fun())