#include <bits/stdc++.h>
using namespace std;
const long double eps = 1e-9;
int main() {
  int n;
  cin >> n;
  if (n % 2 == 1 && n > 1) {
    vector<string> a(4);
    for (int i = 0; i < n - 1; i += 2)
      if ((i / 2) % 2 == 0)
        a[0] += "aa";
      else
        a[0] += "bb";
    for (int i = 0; i < n - 1; i += 2)
      if ((i / 2) % 2 == 0)
        a[1] += "cc";
      else
        a[1] += "dd";
    a[0] += 'w';
    a[1] += 'w';
    a[2] = 'z';
    a[3] = 'z';
    for (int i = 0; i < n - 1; i += 2)
      if ((i / 2) % 2 == 0)
        a[2] += "pp";
      else
        a[2] += "qq";
    for (int i = 0; i < n - 1; i += 2)
      if ((i / 2) % 2 == 0)
        a[3] += "uu";
      else
        a[3] += "vv";
    for (int i = 0; i < 4; ++i) cout << a[i] << endl;
    return 0;
  }
  if (n == 1) {
    cout << "a" << endl;
    cout << "a" << endl;
    cout << "b" << endl;
    cout << "b" << endl;
    return 0;
  }
  if (n == 2) {
    cout << "aa" << endl;
    cout << "bb" << endl;
    cout << "cc" << endl;
    cout << "dd" << endl;
    return 0;
  }
  vector<string> a(4);
  for (int i = 0; i < n; i += 2) {
    if ((i / 2) % 2 == 0)
      a[0] += "aa";
    else
      a[0] += "bb";
  }
  a[1] = "z";
  for (int i = 1; i < n - 2; i += 2)
    if ((i / 2) % 2 == 0)
      a[1] += "cc";
    else
      a[1] += "dd";
  a[1] += "z";
  a[2] = a[1];
  a[3] = a[0];
  replace(a[2].begin(), a[2].end(), 'c', 'a');
  replace(a[2].begin(), a[2].end(), 'd', 'b');
  replace(a[3].begin(), a[3].end(), 'a', 'c');
  replace(a[3].begin(), a[3].end(), 'b', 'd');
  for (int i = 0; i < 4; ++i) cout << a[i] << endl;
  return 0;
}
