#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string s1, s2, s3, s4;
  for (int i = 0; i < n / 2; i++) {
    if (i % 2 == 0) {
      s1 += "aa";
      s2 += "bb";
    } else {
      s1 += "bb";
      s2 += "aa";
    }
  }
  if (n % 2 == 1) {
    s1 += "c";
    s2 += "c";
  }
  s3 += "z";
  s4 += "z";
  for (int i = 0; i < (n - 1) / 2; i++) {
    if (i % 2 == 0) {
      s3 += "dd";
      s4 += "ee";
    } else {
      s3 += "ee";
      s4 += "dd";
    }
  }
  if (n % 2 == 0) {
    s3 += "f";
    s4 += "f";
  }
  cout << s1 << endl;
  cout << s2 << endl;
  cout << s3 << endl;
  cout << s4 << endl;
}
