using System; using static System.Console; using System.Linq; using System.Collections.Generic; class Program { static int NN => int.Parse(ReadLine()); static long[] NList => ReadLine().Split().Select(long.Parse).ToArray(); public static void Main() { Solve(); } static void Solve() { var n = NN; var ans = new string[n]; for (var i = 0; i < n; ++i) { var d = NN; if (d == 1) ans[i] = "10"; else ans[i] = string.Concat(new List{ '9' }.Concat(Enumerable.Repeat('0', d - 1))); } WriteLine(string.Join("\n", ans)); } }