#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string s1 = "", s2 = "", s3 = "", s4 = "";
  if (n == 1)
    cout << "a" << endl << "a" << endl << "b" << endl << "b" << endl;
  else if (n == 2) {
    cout << "aa" << endl << "bb" << endl << "cc" << endl << "dd" << endl;
  } else if (n % 2 != 0) {
    s2 += 'c';
    s1 += 'c';
    int i = n / 2;
    for (int j = 0; j < n / 2; j++) {
      if (j % 2 == 0) {
        s1 += "aa";
        s2 += "bb";
        s3 += "xx";
        s4 += "zz";
      } else {
        s1 += "tt";
        s2 += "qq";
        s3 += "rr";
        s4 += "yy";
      }
    }
    s3 += 'p';
    s4 += 'p';
    cout << s1 << endl << s2 << endl << s3 << endl << s4 << endl;
  } else {
    s2 += 'c';
    s3 += 'c';
    int i = n / 2 - 1;
    for (int j = 0; j < i; j++) {
      if (j % 2 == 0) {
        s1 += "aa";
        s2 += "bb";
        s3 += "xx";
        s4 += "zz";
      } else {
        s1 += "tt";
        s2 += "qq";
        s3 += "rr";
        s4 += "yy";
      }
    }
    s1 += "oo";
    s2 += 'u';
    s3 += 'u';
    s4 += "pp";
    cout << s1 << endl << s2 << endl << s3 << endl << s4 << endl;
  }
}
