#include <bits/stdc++.h>
using namespace std;
const int MAX = 100000;
const int INF = 1000000001;
int n;
int main(int argc, char *argv[]) {
  scanf("%d", &n);
  if (n == 2) {
    for (int i = 0; i < 4; ++i) printf("%c%c\n", 'a' + i, 'a' + i);
  } else {
    for (int foo = 0; foo < 2; ++foo) {
      putchar('a');
      for (int i = 0; i < (n - 1) / 2; ++i)
        putchar('d' + (i & 1) + 2 * foo), putchar('d' + (i & 1) + 2 * foo);
      if (!(n & 1)) putchar('r');
      printf("\n");
    }
    for (int foo = 0; foo < 2; ++foo) {
      for (int i = 0; i < n / 2; ++i)
        putchar('t' + (i & 1) + 2 * foo), putchar('t' + (i & 1) + 2 * foo);
      if (n & 1) putchar('i');
      printf("\n");
    }
  }
  return 0;
}
