using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoderTest { class Program { static void Main(string[] args) { int input = int.Parse(Console.ReadLine()); int total = 0; for (int i = 0; i < input; i++) { total = int.Parse(Console.ReadLine()); if (total % 8 == 0) { if(total % 10 == 0) { Console.WriteLine("ikisugi"); } else { Console.WriteLine("iki"); } } else if (total % 10 == 0) { if (total % 8 == 0) { Console.WriteLine("ikisugi"); } else { Console.WriteLine("sugi"); } } } } } }