using System; using System.IO; using System.Collections.Generic; namespace No701 { public class Program { const int Length = 20; readonly Random rand = new Random(); void Solve(StreamScanner ss, StreamWriter sw) { //--------------------------------- var N = ss.Next(int.Parse); for (var i = 0; i < N - 1; i++) sw.WriteLine($"a{GetRandomWord()}a"); sw.WriteLine("azerbaijan"); //--------------------------------- } string GetRandomWord() { var ret = ""; for (var i = 0; i < Length - 2; i++) ret += (char)('a' + rand.Next(26)); return ret; } static void Main() { var ss = new StreamScanner(new StreamReader(Console.OpenStandardInput())); var sw = new StreamWriter(Console.OpenStandardOutput()) {AutoFlush = false}; new Program().Solve(ss, sw); sw.Flush(); } } public class StreamScanner { static readonly char[] Sep = {' '}; readonly Queue buffer = new Queue(); readonly TextReader textReader; public StreamScanner(TextReader textReader) { this.textReader = textReader; } public T Next(Func parser) { if (buffer.Count != 0) return parser(buffer.Dequeue()); var nextStrings = textReader.ReadLine().Split(Sep, StringSplitOptions.RemoveEmptyEntries); foreach (var nextString in nextStrings) buffer.Enqueue(nextString); return Next(parser); } } }