using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YukiCoder { class Program { static void Main(string[] args) { StringBuilder sb= new StringBuilder(); int N = int.Parse(Console.ReadLine()); for (int i = 0; i < N; i++) { int n = int.Parse(Console.ReadLine()); int m = n / 3; string S = ""; if (n % 8 == 0) S = "iki"; if (n % 10 == 0) S += "sugi"; if (S == "") S = m.ToString(); Console.WriteLine(S); } //Console.ReadLine(); } } }