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