#include <bits/stdc++.h>
using namespace std;

int main() {
    string S = "IGNITION";
    int i; cin >> i;
    cout << S[i-1] << endl;
}