#include <bits/stdc++.h>
using namespace std;
int n;
char s[4][100], c = 'a';
int main() {
  cin >> n;
  if (n % 2) {
    s[0][n - 1] = 'z';
    s[1][n - 1] = 'z';
    s[2][0] = 'y';
    s[3][0] = 'y';
  } else {
    s[2][0] = 'z';
    s[3][0] = 'z';
    s[2][n - 1] = 'y';
    s[3][n - 1] = 'y';
  }
  for (int i = 0; i < 2; i++) {
    if (i == 1 && s[0][0] == c) c = 'a' + (c + 5) % 24;
    for (int j = 0; j < n - 1; j += 2) {
      s[i][j] = c;
      s[i][j + 1] = c;
      c = 'a' + (c + 1) % 24;
    }
  }
  for (int i = 2; i < 4; i++) {
    if (i == 2 && (s[1][1] == c || s[1][2] == c)) c = 'a' + (c + 5) % 24;
    if (i == 3 && s[2][1] == c) c = 'a' + (c + 5) % 24;
    for (int j = 1; j < n - 2 * abs(n % 2 - 1); j += 2) {
      s[i][j] = c;
      s[i][j + 1] = c;
      c = 'a' + (c + 1) % 24;
    }
  }
  for (int i = 0; i < 4; i++) {
    for (int j = 0; j < n; j++) cout << s[i][j];
    cout << "\n";
  }
  cin >> n;
  return 0;
}
