#include <bits/stdc++.h>
using namespace std;
int nextc(int c) { return (((c - 'a') + 1) % 26) + 'a'; }
int main() {
  int c = 'a';
  int n;
  string res[4];
  cin >> n;
  if (n == 1) {
    cout << "a\na\nb\nb\n";
    return 0;
  }
  res[0].push_back(c);
  res[0].push_back(c);
  c = nextc(c);
  res[1].push_back(c);
  res[1].push_back(c);
  c = nextc(c);
  res[2].push_back(c);
  res[3].push_back(c);
  for (int i = 2; i < n; i++) {
    c = nextc(c);
    if (i % 2 == 1) {
      res[0].push_back(c);
      res[0].push_back(c);
      c = nextc(c);
      res[1].push_back(c);
      res[1].push_back(c);
    } else {
      res[2].push_back(c);
      res[2].push_back(c);
      c = nextc(c);
      res[3].push_back(c);
      res[3].push_back(c);
    }
  }
  c = nextc(c);
  if (n % 2 == 1) {
    res[0].push_back(c);
    res[1].push_back(c);
  } else {
    res[2].push_back(c);
    res[3].push_back(c);
  }
  for (int(i) = 0; (i) < (4); (i)++) cout << res[i] << '\n';
  return 0;
}
