#include <bits/stdc++.h>
using namespace std;
void mytimer(string task) {}
char res[4][1000];
int main() {
  int n;
  cin >> n;
  res[0][0] = res[1][0] = 'a';
  int p = 1;
  int q = 1;
  for (int i = 0; i < (n - 1); ++i) {
    res[q * 2][i] = res[q * 2][i + 1] = p + 'a';
    p = (p + 1) % 26;
    res[q * 2 + 1][i] = res[q * 2 + 1][i + 1] = p + 'a';
    p = (p + 1) % 26;
    q = 1 - q;
  }
  res[q * 2][n - 1] = res[q * 2 + 1][n - 1] = p + 'a';
  for (int i = 0; i < (4); ++i) cout << res[i] << endl;
  return 0;
}
