#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  char a[4][200] = {0};
  if (n % 2 == 0) {
    int f = 0;
    for (int(i) = 0; (i) < (n); (i)++) {
      a[0][i] = a[0][i + 1] = f + 'a';
      f = (f + 1) % 4;
      a[1][i] = a[1][i + 1] = f + 'a';
      i++;
      f = (f + 1) % 4;
    }
    a[2][0] = a[3][0] = 'e';
    a[2][n - 1] = a[3][n - 1] = 'f';
    f = 0;
    for (int(i) = (1); (i) < (n - 1); (i)++) {
      a[2][i] = a[2][i + 1] = f + 'a' + 6;
      f = (f + 1) % 4;
      a[3][i] = a[3][i + 1] = f + 'a' + 6;
      i++;
      f = (f + 1) % 4;
    }
  } else {
    int f = 0;
    for (int(i) = 0; (i) < (n - 1); (i)++) {
      a[0][i] = a[0][i + 1] = f + 'a';
      f = (f + 1) % 4;
      a[1][i] = a[1][i + 1] = f + 'a';
      i++;
      f = (f + 1) % 4;
    }
    a[2][0] = a[3][0] = 'e';
    a[0][n - 1] = a[1][n - 1] = 'f';
    f = 0;
    for (int(i) = (1); (i) < (n); (i)++) {
      a[2][i] = a[2][i + 1] = f + 'a' + 6;
      f = (f + 1) % 4;
      a[3][i] = a[3][i + 1] = f + 'a' + 6;
      i++;
      f = (f + 1) % 4;
    }
  }
  for (int(i) = 0; (i) < (4); (i)++) cout << a[i] << endl;
  return 0;
}
