#include #define rep(i, a, n) for (int i = a; i < (int)(n); i++) #define vi vector #define vb vector #define ll long long using namespace std; void faster() { ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); } template void input(T &x) { cin >> x; } template void input(T &x, Args &...args) { cin >> x; input(args...); } vi xudlr = {0, 0, -1, 1}; vi yudlr = {-1, 1, 0, 0}; int main() { string s = "IGNITION"; int i; input(i); cout << s[i - 1] << endl; return 0; }