#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  char c[n][4];
  if (n == 1) {
    cout << "a" << endl << "a" << endl << "b" << endl << "b" << endl;
    return 0;
  }
  if (n & 1) {
    for (int i = 1; i < n; i += 2) {
      int k;
      if (((i - 1) / 2) & 1)
        k = 0;
      else
        k = 1;
      c[i][0] = 'a' + k;
      c[i - 1][0] = 'a' + k;
    }
    c[n - 1][0] = c[n - 2][0] + 2;
    c[n - 1][1] = c[n - 1][0];
    for (int i = 1; i < n; i += 2) {
      int k;
      if (((i - 1) / 2) & 1)
        k = 0;
      else
        k = 1;
      c[i][1] = 'z' - k;
      c[i - 1][1] = 'z' - k;
    }
    c[0][2] = c[n - 1][0];
    c[0][3] = c[n - 1][0];
    for (int i = 1; i < n; i += 2) {
      int k;
      if (((i - 1) / 2) & 1)
        k = 0;
      else
        k = 1;
      c[i][2] = 'a' + k;
      if (i < n - 1) c[i + 1][2] = 'a' + k;
    }
    for (int i = 1; i < n; i += 2) {
      int k;
      if (((i - 1) / 2) & 1)
        k = 0;
      else
        k = 1;
      c[i][3] = 'z' - k;
      if (i < n - 1) c[i + 1][3] = 'z' - k;
    }
  } else {
    for (int i = 1; i < n; i += 2) {
      int k;
      if (((i - 1) / 2) & 1)
        k = 0;
      else
        k = 1;
      c[i][0] = 'a' + k;
      c[i - 1][0] = 'a' + k;
    }
    for (int i = 1; i < n; i += 2) {
      int k;
      if (((i - 1) / 2) & 1)
        k = 0;
      else
        k = 1;
      c[i][1] = 'z' - k;
      c[i - 1][1] = 'z' - k;
    }
    c[0][2] = 'a';
    c[0][3] = 'a';
    for (int i = 1; i < n; i += 2) {
      int k;
      if (((i - 1) / 2) & 1)
        k = 0;
      else
        k = 1;
      c[i][2] = 'a' + k;
      if (i < n - 1) c[i + 1][2] = 'a' + k;
    }
    for (int i = 1; i < n; i += 2) {
      int k;
      if (((i - 1) / 2) & 1)
        k = 0;
      else
        k = 1;
      c[i][3] = 'z' - k;
      if (i < n - 1) c[i + 1][3] = 'z' - k;
    }
    c[n - 1][2] = c[n - 2][2] + 2;
    c[n - 1][3] = c[n - 1][2];
  }
  for (int i = 0; i < 4; i++) {
    for (int j = 0; j < n; j++) cout << c[j][i];
    cout << endl;
  }
}
