y = list('IGNITION') i = int(input()) print(y[i - 1])