#include <bits/stdc++.h>
using namespace std;
char inc(char &c) {
  char ret = c;
  if (c == 'z')
    c = 'a';
  else
    ++c;
  return ret;
}
int main() {
  int n;
  cin >> n;
  char t[4][n];
  char c = 'a';
  t[0][0] = t[1][0] = inc(c);
  for (int i = 1; i < n; ++i) {
    if (i % 2 == 0) {
      t[0][i] = t[0][i - 1] = inc(c);
      t[1][i] = t[1][i - 1] = inc(c);
    } else {
      t[2][i] = t[2][i - 1] = inc(c);
      t[3][i] = t[3][i - 1] = inc(c);
    }
  }
  if (n % 2 == 0)
    t[0][n - 1] = t[1][n - 1] = inc(c);
  else
    t[2][n - 1] = t[3][n - 1] = inc(c);
  for (int i = 0; i < 4; ++i) {
    for (int j = 0; j < n; ++j) cout << t[i][j];
    cout << endl;
  }
  cout << endl;
}
