#include <bits/stdc++.h>
using namespace std;
long long mx = -1e9, mn = 1e9 + 5;
long long T, n, m, k, ans, a, b, c, d, l, r, sum, mid, coin, cnt, pos, number,
    x, y, z;
long long dp[300005];
vector<string> v, v1;
map<string, long long> mp, mm;
map<long long, long long>::iterator it;
pair<long long, long long> p[5000];
queue<long long> q;
priority_queue<long long> pq;
string s;
int main() {
  cin >> n;
  if (n % 2 == 1) {
    for (int i = 2; i <= n; i += 2) {
      if (i % 4 == 0) {
        cout << "aa";
      } else
        cout << "bb";
    }
    cout << "c" << endl;
    for (int i = 2; i <= n; i += 2) {
      if (i % 4 == 0) {
        cout << "bb";
      } else
        cout << "aa";
    }
    cout << "c" << endl;
    cout << "d";
    for (int i = 3; i <= n; i += 2) {
      if (i % 4 == 3) {
        cout << "ee";
      } else {
        cout << "ff";
      }
    }
    cout << endl;
    cout << "d";
    for (int i = 3; i <= n; i += 2) {
      if (i % 4 == 1) {
        cout << "ee";
      } else {
        cout << "ff";
      }
    }
    cout << endl;
    return 0;
  }
  for (int i = 2; i <= n; i += 2) {
    if (i % 4 == 0) {
      cout << "bb";
    } else
      cout << "aa";
  }
  cout << endl;
  cout << "c";
  for (int i = 3; i <= n; i += 2) {
    if (i % 4 == 1) {
      cout << "ee";
    } else
      cout << "ff";
  }
  cout << "d";
  cout << endl;
  cout << "c";
  for (int i = 3; i <= n; i += 2) {
    if (i % 4 == 3) {
      cout << "ee";
    } else
      cout << "ff";
  }
  cout << "d" << endl;
  for (int i = 2; i <= n; i += 2) {
    if (i % 4 == 0) {
      cout << "bb";
    } else
      cout << "aa";
  }
}
