#include <bits/stdc++.h>
char c[4][100];
int main() {
  int n;
  std::cin >> n;
  if (n == 1) {
    c[0][0] = c[1][0] = 'a';
    c[2][0] = c[3][0] = 'b';
  } else if (n == 2) {
    for (int i = 0; i < 4; ++i) c[i][0] = c[i][1] = 'a' + i;
  } else {
    char z = 0;
    std::string s = "acbdcadb";
    for (int i = 0; i < 4; ++i)
      for (int j = i > 1; j < n - 1; j += 2) {
        c[i][j] = c[i][j + 1] = s[i * 2 + ((j / 2) % 2)];
      }
    c[2][0] = c[3][0] = 'e';
    if (n % 2)
      c[0][n - 1] = c[1][n - 1] = 'e';
    else
      c[2][n - 1] = c[3][n - 1] = 'e';
  }
  for (int i = 0; i < 4; ++i) {
    for (int j = 0; j < n; ++j) std::cout << c[i][j];
    std::cout << "\n";
  }
  return 0;
}
