#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9;
const long long INF = 1e18;
const double eps = 1e-8;
const double pi = acos(-1.0);
int main() {
  int n;
  bool p;
  cin >> n;
  if (n % 2) {
    cout << 'a';
    p = 1;
    for (int i = 3; i <= n; i += 2) {
      if (p)
        cout << "bb";
      else
        cout << "cc";
      p = !p;
    }
    cout << '\n';
    cout << 'a';
    p = 1;
    for (int i = 3; i <= n; i += 2) {
      if (p)
        cout << "dd";
      else
        cout << "ee";
      p = !p;
    }
    cout << '\n';
    p = 1;
    for (int i = 3; i <= n; i += 2) {
      if (p)
        cout << "gg";
      else
        cout << "ff";
      p = !p;
    }
    cout << 'j';
    cout << '\n';
    p = 1;
    for (int i = 3; i <= n; i += 2) {
      if (p)
        cout << "nn";
      else
        cout << "mm";
      p = !p;
    }
    cout << 'j';
    cout << '\n';
  } else {
    p = 1;
    cout << 'a';
    for (int i = 3; i <= n; i += 2) {
      if (p)
        cout << "cc";
      else
        cout << "bb";
      p = !p;
    }
    cout << 'e';
    cout << '\n';
    p = 1;
    cout << 'a';
    for (int i = 3; i <= n; i += 2) {
      if (p)
        cout << "dd";
      else
        cout << "ff";
      p = !p;
    }
    cout << 'e';
    cout << '\n';
    p = 1;
    for (int i = 2; i <= n; i += 2) {
      if (p)
        cout << "gg";
      else
        cout << "tt";
      p = !p;
    }
    cout << '\n';
    p = 1;
    for (int i = 2; i <= n; i += 2) {
      if (p)
        cout << "ww";
      else
        cout << "yy";
      p = !p;
    }
    cout << '\n';
  }
}
