#include <bits/stdc++.h>
using namespace std;
char res[10][444];
int main() {
  int n;
  scanf("%d", &n);
  if (n == 1) {
    cout << "a\na\nb\nb" << endl;
  } else if (n == 2) {
    for (int i = (0); i <= ((2) - 1); i++) {
      cout << "aa" << endl;
      cout << "bb" << endl;
    }
  } else {
    memset((res), 0, sizeof(res));
    char c = 'c', d = 'd', e = 'e', f = 'f';
    for (int i = (0); i <= ((n)-1); i++) {
      if (i % 2 == 0 && i != n - 1) {
        res[2][i] = res[2][i + 1] = c;
        res[3][i] = res[3][i + 1] = d;
        swap(c, d);
      }
      if (i % 2 == 1 && i != n - 1) {
        res[0][i] = res[0][i + 1] = e;
        res[1][i] = res[1][i + 1] = f;
        swap(e, f);
      }
    }
    for (int i = (0); i <= ((4) - 1); i++)
      for (int j = (0); j <= ((n)-1); j++)
        if (res[i][j] == 0) res[i][j] = 'a';
    for (int i = (0); i <= ((4) - 1); i++) res[i][n] = 0;
    for (int i = (0); i <= ((4) - 1); i++) puts(res[i]);
  }
  return 0;
}
