#include <bits/stdc++.h>
using namespace std;
inline int nextint() {
  int res = 0;
  char c = 0;
  while (c < '0' || c > '9') c = getchar();
  while (c >= '0' && c <= '9') {
    res = res * 10 + c - '0';
    c = getchar();
  }
  return res;
}
int main() {
  int n;
  cin >> n;
  if (n == 1) {
    cout << "a\na\nb\nb" << endl;
    return 0;
  }
  if (n % 2 == 0) {
    for (int i = 0; i < n; i += 2)
      cout << ((char)('a' + (i / 2) % 2)) << ((char)('a' + (i / 2) % 2));
    cout << endl;
    for (int i = 0; i < n; i += 2)
      cout << ((char)('c' + (i / 2) % 2)) << ((char)('c' + (i / 2) % 2));
    cout << endl;
    cout << 'x';
    for (int i = 2; i < n; i += 2)
      cout << ((char)('e' + (i / 2) % 2)) << ((char)('e' + (i / 2) % 2));
    cout << 'y' << endl;
    cout << 'x';
    for (int i = 2; i < n; i += 2)
      cout << ((char)('g' + (i / 2) % 2)) << ((char)('g' + (i / 2) % 2));
    cout << 'y' << endl;
  } else {
    for (int i = 1; i < n; i += 2)
      cout << ((char)('a' + (i / 2) % 2)) << ((char)('a' + (i / 2) % 2));
    cout << 'x' << endl;
    for (int i = 1; i < n; i += 2)
      cout << ((char)('c' + (i / 2) % 2)) << ((char)('c' + (i / 2) % 2));
    cout << 'x' << endl;
    cout << 'y';
    for (int i = 1; i < n; i += 2)
      cout << ((char)('e' + (i / 2) % 2)) << ((char)('e' + (i / 2) % 2));
    cout << endl;
    cout << 'y';
    for (int i = 1; i < n; i += 2)
      cout << ((char)('g' + (i / 2) % 2)) << ((char)('g' + (i / 2) % 2));
    cout << endl;
  }
  return 0;
}
