using System; using System.IO; using System.Collections.Generic; using System.Text; 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(GetRandomWord()); sw.WriteLine("azerbaijan"); //--------------------------------- } StringBuilder GetRandomWord() { var sb = new StringBuilder("a"); for (var i = 0; i < Length - 2; i++) sb.Append((char)('a' + rand.Next(26))); return sb.Append('a'); } 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); } } }