#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int r = n / 2, i;
  if (n % 2) {
    for (i = 0; i < r; i++) {
      if (i % 2)
        cout << "aa";
      else
        cout << "bb";
    }
    cout << 'c';
    cout << "\n";
    for (i = 0; i < r; i++) {
      if (i % 2)
        cout << "dd";
      else
        cout << "ee";
    }
    cout << 'c';
    cout << "\n";
    cout << 'f';
    for (i = 0; i < r; i++) {
      if (i % 2)
        cout << "gg";
      else
        cout << "hh";
    }
    cout << "\n";
    cout << 'f';
    for (i = 0; i < r; i++) {
      if (i % 2)
        cout << "ii";
      else
        cout << "jj";
    }
    cout << "\n";
  } else {
    if (n == 2) {
      cout << "yy\n";
      cout << "be\n";
      cout << "be\n";
      cout << "yy\n";
    } else {
      for (i = 0; i < r; i++) {
        if (i % 2)
          cout << "zz";
        else
          cout << "yy";
      }
      cout << "\n";
      cout << 'b';
      for (i = 0; i < r - 1; i++) {
        if (i % 2)
          cout << "aa";
        else
          cout << "cc";
      }
      cout << 'b';
      cout << "\n";
      cout << 'b';
      for (i = 0; i < r - 1; i++) {
        if (i % 2)
          cout << "dd";
        else
          cout << "ee";
      }
      cout << 'b';
      cout << "\n";
      for (i = 0; i < r; i++) {
        if (i % 2)
          cout << "zz";
        else
          cout << "yy";
      }
      cout << "\n";
    }
  }
}
