#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string a[4];
  int help = 0;
  help = n % 4;
  if (n % 2 == 0 && n != 2) {
    for (int i = 1; i * 2 <= n; i++) {
      if (i % 2 == 1)
        a[0] += "xx";
      else
        a[0] += "yy";
    }
    a[1] += "q";
    for (int i = 2; i * 2 <= n; i++) {
      if (i % 2 == 0)
        a[1] += "ee";
      else
        a[1] += "rr";
    }
    a[1] += "q";
    a[2] += "q";
    for (int i = 2; i * 2 <= n; i++) {
      if (i % 2 == 0)
        a[2] += "uu";
      else
        a[2] += "ii";
    }
    a[2] += "q";
    a[3] = a[0];
    cout << a[0] << endl << a[1] << endl << a[2] << endl << a[3] << endl;
  } else if (n == 2)
    cout << "xx" << endl << "yy" << endl << "xx" << endl << "yy" << endl;
  else if (n == 1) {
    cout << "x" << endl << "x" << endl << "y" << endl << "y" << endl;
  } else {
    a[0] += "q";
    a[1] += "q";
    for (int i = 1; i * 2 < n; i++) {
      if (i % 2 == 1)
        a[0] += "xx";
      else
        a[0] += "yy";
    }
    for (int i = 1; i * 2 < n; i++) {
      if (i % 2 == 1)
        a[1] += "uu";
      else
        a[1] += "ii";
    }
    for (int i = 1; i * 2 < n; i++) {
      if (i % 2 == 0) {
        a[2] += "oo";
        a[3] += "pp";
      } else {
        a[2] += "ll";
        a[3] += "cc";
      }
    }
    a[2] += "m";
    a[3] += "m";
    for (int i = 0; i < 4; i++) cout << a[i] << endl;
  }
  return 0;
}
