#include <bits/stdc++.h>
using namespace std;
int n;
string s1, s2;
int main() {
  cin >> n;
  if (n == 1) {
    cout << "a\na\nb\nb";
    return 0;
  }
  s1 = s2 = "";
  int m = n;
  while (m > 1) {
    if (s1 == "" || s1[s1.size() - 1] == 'b')
      s1 += "aa";
    else
      s1 += "bb";
    m -= 2;
  }
  if (m) s1 += 'e';
  cout << s1 << endl;
  for (char i : s1) {
    if (i == 'a')
      cout << 'c';
    else if (i == 'b')
      cout << 'd';
    else
      cout << 'e';
  }
  s2 = 'z';
  n -= 1;
  cout << endl;
  while (n > 1) {
    if (s2[s2.size() - 1] == 'z' || s2[s2.size() - 1] == 'x')
      s2 += "yy";
    else
      s2 += "xx";
    n -= 2;
  }
  if (n) s2 += 'k';
  cout << s2 << endl;
  for (char i : s2) {
    if (i == 'x')
      cout << 'y';
    else if (i == 'y')
      cout << 'x';
    else
      cout << i;
  }
}
