#include using namespace std; typedef long long ll; string s = "IGNITION"; int n; int main() { cin >> n; cout << s[n - 1] << endl; return 0; }