#include #include using namespace std; int main() { int n, a; cin >> n; for (int i = 0; i < n; i++) { cin >> a; string s = ""; if (a % 8 == 0) { s += "iki"; } if (a % 10 == 0) { s += "sugi"; } if (s.empty()) { s = to_string(a / 3); } cout << s << endl; } return 0; }