using System; using System.Linq; using static System.Console; namespace App { class Prog { static void Main() { var x = int.Parse(ReadLine()); for (int i = 0; i < x; i++) { var nm = int.Parse(ReadLine()); if (nm % 8 == 0) Write("iki"); if (nm % 10 == 0) Write("sugi"); if (nm % 8 == 0 || nm % 10 == 0) { WriteLine(""); continue; } WriteLine(nm /3); } } } }