s = list("IGNITION") i = int(input()) print(s[i - 1])