#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1000;
const int MAX = 1000;
const int inf = 999999999;
const int p1 = 104393321, p2 = 104393329;
int main() {
  ios::sync_with_stdio(0);
  int n;
  cin >> n;
  for (int i = (0); i < int(4); ++i) {
    if (i < 2) cout << 'a';
    for (int j = (0); j < int((n - (i < 2)) / 2); ++j)
      cout << char('a' + (i + j) % 24 + 1) << char('a' + (i + j) % 24 + 1);
    if ((n - (i < 2)) % 2 == 1) cout << 'z';
    cout << endl;
  }
  return 0;
}
