#include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[]) {
  string S, L, s, l;
  int N, i, j, K, cut = 0;
  cin >> N;
  if (N == 2) {
    cout << "aa" << endl;
    cout << "bb" << endl;
    cout << "cc" << endl;
    cout << "ee" << endl;
    return 0;
  }
  S = "aa";
  L = "bb";
  s = "a";
  l = "b";
  K = N;
  if (N % 2 != 0) N--;
  for (i = 1; i <= 2; i++) {
    for (j = 1; j <= N; j = j + 2) {
      cut++;
      if (cut % 2 != 0)
        cout << S;
      else
        cout << L;
    }
    if (K % 2 != 0) cout << "l";
    S = "cc";
    L = "dd";
    s = "c";
    l = "d";
    cout << endl;
  }
  S = "pp";
  L = "oo";
  cut = 0;
  for (i = 3; i <= 4; i++) {
    cout << "x";
    for (j = 1; j <= K - 1; j = j + 2) {
      if (j + 1 <= K - 1) {
        cut++;
        if (cut % 2 != 0)
          cout << S;
        else
          cout << L;
      }
    }
    S = "uu";
    L = "ss";
    if ((K - 1) % 2 != 0) cout << "x";
    cout << endl;
  }
  return 0;
}
