import std.experimental.all; T read(T)() { return readln.chomp.to!T; } T[] reads(T)() { return readln.split.to!(T[]); } alias readint = read!int; alias readints = reads!int; void main() { int n = readint; // 2^17 > 100_000 for (int i = 0; i < n-1; i++) { write('a'); for (int j = 0; j < 17; j++) { if (i & (1 << j)) write('a'); else write('b'); } writeln('a'); } writeln("an"); }