#include #define rep(i, a, n) for(int i = a; i < n; i++) #define int long long using namespace std; signed main(){ int t; cin >> t; for(int i = 0; i < t; i++){ int n; cin >> n; if(n % 80 == 0) cout << "ikisugi" << endl; else if(n % 8 == 0) cout << "iki" << endl; else if(n % 10 == 0) cout << "sugi" << endl; else cout << n / 3 << endl; } }