#include <bits/stdc++.h>
using namespace std;
long long int n;
char res[4][107];
int main() {
  scanf("%lld", &n);
  if (n % 2 == 0) {
    for (long long int i = 1; i <= n / 2; ++i) {
      if (i % 2 == 0)
        printf("aa");
      else
        printf("bb");
    }
    printf("\ny");
    for (long long int i = 1; i < n / 2; ++i) {
      if (i % 2 == 0)
        printf("cc");
      else
        printf("dd");
    }
    printf("x\ny");
    for (long long int i = 1; i < n / 2; ++i) {
      if (i % 2 == 0)
        printf("ee");
      else
        printf("ff");
    }
    printf("x\n");
    for (long long int i = 1; i <= n / 2; ++i) {
      if (i % 2 == 0)
        printf("gg");
      else
        printf("hh");
    }
  } else {
    for (long long int i = 1; i <= n / 2; ++i) {
      if (i % 2 == 0)
        printf("aa");
      else
        printf("bb");
    }
    printf("y\n");
    for (long long int i = 1; i <= n / 2; ++i) {
      if (i % 2 == 0)
        printf("cc");
      else
        printf("dd");
    }
    printf("y\nx");
    for (long long int i = 1; i <= n / 2; ++i) {
      if (i % 2 == 0)
        printf("ee");
      else
        printf("ff");
    }
    printf("\nx");
    for (long long int i = 1; i <= n / 2; ++i) {
      if (i % 2 == 0)
        printf("gg");
      else
        printf("hh");
    }
  }
  return 0;
}
