#include <bits/stdc++.h>
using namespace std;
char a[4][111];
int main() {
  int n;
  scanf("%d", &n);
  int num = 0;
  for (int i = 0; i + 1 < n; i += 2) {
    a[0][i] = num + 'a';
    a[0][i + 1] = num + 'a';
    num = (num + 1) % 13;
  }
  num = 13;
  for (int i = 0; i + 1 < n; i += 2) {
    a[1][i] = num + 'a';
    a[1][i + 1] = num + 'a';
    num = (num + 1) % 13 + 13;
  }
  if (n & 1) {
    a[0][n - 1] = num + 'a';
    a[1][n - 1] = num + 'a';
  }
  num = 0;
  a[2][0] = num + 'a';
  a[3][0] = num + 'a';
  num = (num + 1) % 13;
  for (int i = 1; i + 1 < n; i += 2) {
    a[2][i] = num + 'a';
    a[2][i + 1] = num + 'a';
    num = (num + 1) % 13;
  }
  if (!(n & 1)) {
    a[2][n - 1] = num + 'a';
    a[3][n - 1] = num + 'a';
  }
  num = 13;
  for (int i = 1; i + 1 < n; i += 2) {
    a[3][i] = num + 'a';
    a[3][i + 1] = num + 'a';
    num = (num + 1) % 13 + 13;
  }
  for (int i = 0; i < 4; i++) printf("%s\n", a[i]);
  return 0;
}
