#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  if (n == 1) {
    printf("a\n");
    printf("a\n");
    printf("b\n");
    printf("b\n");
  } else if (n == 2) {
    printf("aa\n");
    printf("bb\n");
    printf("cc\n");
    printf("dd\n");
  } else if (n % 2 == 1) {
    string a, b, c, d;
    while (a.length() < n - 1) {
      a += "aa";
      if (a.length() < n - 1) a += "bb";
    }
    a += "c";
    while (b.length() < n - 1) {
      b += "bb";
      if (b.length() < n - 1) b += "aa";
    }
    b += "c";
    c += "d";
    while (c.length() < n) {
      c += "ee";
      if (c.length() < n) c += "ff";
    }
    d += "d";
    while (d.length() < n) {
      d += "ff";
      if (d.length() < n) d += "ee";
    }
    printf("%s\n%s\n%s\n%s\n", a.c_str(), b.c_str(), c.c_str(), d.c_str());
  } else {
    string a, b, c, d;
    while (a.length() < n) {
      a += "aa";
      if (a.length() < n) a += "bb";
    }
    while (d.length() < n) {
      d += "bb";
      if (d.length() < n) d += "aa";
    }
    b += "c";
    c += "c";
    while (b.length() < n - 1) {
      b += "dd";
      if (b.length() < n - 1) b += "ee";
    }
    b += "c";
    while (c.length() < n - 1) {
      c += "ee";
      if (c.length() < n - 1) c += "dd";
    }
    c += "c";
    printf("%s\n%s\n%s\n%s\n", a.c_str(), b.c_str(), c.c_str(), d.c_str());
  }
  return 0;
}
