#include "bits/stdc++.h" using namespace std; int main() { int k; cin >> k; for (int i = 0; i < k; i++) { int n; cin >> n; if (n % 40 == 0) { cout << "ikisugi" << endl; continue; } if (n % 10 == 0) { cout << "sugi" << endl; continue; } if (n % 8 == 0) { cout << "iki" << endl; continue; } cout << n / 3 << endl; } }