using System; using System.Text; namespace yukiCoder { class MainClass { public static void Main(string[] args) { var sw = new System.IO.StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); int N = int.Parse(Console.ReadLine()); int[] dN = new int[N]; for (int i = 0; i < N; i++) { dN[i] = int.Parse(Console.ReadLine()); } for (int j = 0; j < N; j++) { StringBuilder result = new StringBuilder(); if (dN[j] == 1) { result.Append("10"); } else { result.Append("9"); } for (int k = 1; k < dN[j]; k++) { result.Append("0"); } Console.WriteLine(result); } Console.Out.Flush(); } } }