#include <bits/stdc++.h>
using namespace std;
int a[100];
int main(void) {
  int t, n, cs = 0, i, j, k, x;
  cin >> n;
  for (i = 1, j = 0; i < n; i += 2, j++) {
    if (j & 1)
      cout << "bb";
    else
      cout << "aa";
  }
  if (n & 1) cout << "z";
  cout << endl;
  for (i = 1, j = 0; i < n; i += 2, j++) {
    if (j & 1)
      cout << "dd";
    else
      cout << "cc";
  }
  if (n & 1) cout << "z";
  cout << endl;
  cout << "t";
  if (n % 2)
    i = 1;
  else
    i = 3;
  for (j = 0; i < n; i += 2, j++) {
    if (j & 1)
      cout << "ee";
    else
      cout << "ff";
  }
  if (!(n & 1)) cout << "y";
  cout << endl;
  cout << "t";
  if (n % 2)
    i = 1;
  else
    i = 3;
  for (j = 0; i < n; i += 2, j++) {
    if (j & 1)
      cout << "gg";
    else
      cout << "hh";
  }
  if (!(n & 1)) cout << "y";
  cout << endl;
  return 0;
}
