#include <bits/stdc++.h>
using namespace std;
char nextchar() {
  static char ch = 'a' - 1;
  ++ch;
  if (ch == 'z' + 1) ch = 'a';
  return ch;
}
int main() {
  int n;
  cin >> n;
  char a[4][101];
  if (n == 1) {
    cout << 'a' << endl << 'a' << endl << 'b' << endl << 'b' << endl;
    return 0;
  }
  a[0][0] = nextchar();
  a[1][0] = nextchar();
  a[2][0] = nextchar();
  a[3][0] = a[2][0];
  for (int i = 1; i < n; ++i) {
    if (i % 2 == 0) {
      a[2][i] = a[2][i - 1];
      a[3][i] = a[3][i - 1];
      if (i == n - 1) {
        a[0][i] = nextchar();
        a[1][i] = a[0][i];
      } else {
        a[0][i] = nextchar();
        a[1][i] = nextchar();
      }
    } else {
      a[0][i] = a[0][i - 1];
      a[1][i] = a[1][i - 1];
      if (i == n - 1) {
        a[2][i] = nextchar();
        a[3][i] = a[2][i];
      } else {
        a[2][i] = nextchar();
        a[3][i] = nextchar();
      }
    }
  }
  for (int i = 0; i < 4; ++i) {
    for (int j = 0; j < n; ++j) cout << a[i][j];
    cout << endl;
  }
  return 0;
}
