#include <bits/stdc++.h>
using namespace std;
int n;
char mp[4][105];
int main() {
  while (scanf("%d", &n) != EOF) {
    if (n % 2) {
      for (int i = 0; i < n - 1; i += 2) {
        if ((i / 2) & 1) {
          mp[0][i] = mp[0][i + 1] = 'a';
          mp[1][i] = mp[1][i + 1] = 'e';
        } else {
          mp[0][i] = mp[0][i + 1] = 'b';
          mp[1][i] = mp[1][i + 1] = 'z';
        }
      }
      mp[0][n - 1] = mp[1][n - 1] = 'c';
      mp[2][0] = mp[3][0] = 'f';
      for (int i = 1; i < n; i += 2) {
        if ((i / 2) & 1)
          mp[2][i] = mp[2][i + 1] = 'g';
        else
          mp[2][i] = mp[2][i + 1] = 'h';
      }
      for (int i = 1; i < n; i += 2) {
        if ((i / 2) & 1)
          mp[3][i] = mp[3][i + 1] = 'i';
        else
          mp[3][i] = mp[3][i + 1] = 'j';
      }
    } else {
      for (int i = 0; i < n; i += 2) {
        if ((i / 2) & 1)
          mp[0][i] = mp[0][i + 1] = mp[3][i] = mp[3][i + 1] = 'a';
        else
          mp[0][i] = mp[0][i + 1] = mp[3][i] = mp[3][i + 1] = 'b';
      }
      mp[1][0] = mp[2][0] = 'c';
      mp[1][n - 1] = mp[2][n - 1] = 'd';
      for (int i = 1; i < n - 1; i += 2) {
        if ((i / 2) & 1) {
          mp[1][i] = mp[1][i + 1] = 'e';
          mp[2][i] = mp[2][i + 1] = 'f';
        } else {
          mp[1][i] = mp[1][i + 1] = 'g';
          mp[2][i] = mp[2][i + 1] = 'h';
        }
      }
    }
    for (int i = 0; i < 4; i++) {
      for (int j = 0; j < n; j++) printf("%c", mp[i][j]);
      puts("");
    }
  }
  return 0;
}
