#include typedef long long ll; using namespace std; ll pow(ll k,ll n) { ll s=1; for(ll i=0;i> n; for(int i = 0; i < n - 1; i++) { cout << "a"; for(int j = 1; j <= 18; j++) { cout << char('a' + k / pow(26,(ll)j) % 26); } k+=26; cout << "a" << endl; } cout << "an" << endl; return 0; }