#include <bits/stdc++.h>
using namespace std;
const int INF = 1000000000;
const int ASIZE = 26;
int T[4][200];
int main() {
  int N, ind = 0, pos = 0;
  scanf("%d", &N);
  int row = 0;
  T[row][0] = T[row + 1][0] = 'a';
  ++ind;
  row = 2 - row;
  for (int i = 0, _n = (N - 1); i < _n; ++i) {
    T[row][pos] = T[row][pos + 1] = 'a' + ind;
    ++ind;
    if (ind == ASIZE) ind = 0;
    T[row + 1][pos] = T[row + 1][pos + 1] = 'a' + ind;
    ++ind;
    if (ind == ASIZE) ind = 0;
    row = 2 - row;
    ++pos;
  }
  T[row][N - 1] = T[row + 1][N - 1] = 'a' + ind;
  for (int i = 0, _n = (4); i < _n; ++i) {
    for (int j = 0, _n = (N); j < _n; ++j) putchar(T[i][j]);
    putchar('\n');
  }
}
