#include #include using namespace std; int main() { int b; cin.ignore(9, ' '); cin >> b; int phi = b; for(int x = b, p = 2; p <= x; ++ p) if(x % p == 0) { phi -= phi / p; while(x % p == 0) x /= p; } string S(phi + 19, 'a'), T = S; ++ T[0], ++ S[phi]; cout << S << '\n' << T << endl; return main(); }