#include <bits/stdc++.h>
using namespace std;
long long int n;
string a;
int main() {
  cin >> n;
  if (n == 1) {
    cout << 'n' << '\n' << 'n' << '\n' << 'o' << '\n' << 'o' << '\n';
    return 0;
  }
  if (n == 2) {
    cout << "aa" << '\n' << "bb" << '\n' << "aa" << '\n' << "bb";
    return 0;
  }
  if (n % 2 == 1) {
    cout << 'y';
    for (int i = 3; i <= n; i += 2) {
      if (i % 4 == 1) {
        cout << "bb";
      } else {
        cout << "aa";
      }
    }
    cout << '\n';
    cout << 'y';
    for (int i = 3; i <= n; i += 2) {
      if (i % 4 == 1) {
        cout << "vv";
      } else {
        cout << "tt";
      }
    }
    cout << '\n';
    for (int i = 3; i <= n; i += 2) {
      if (i % 4 == 1) {
        cout << "uu";
      } else {
        cout << "hh";
      }
    }
    cout << 'y' << '\n';
    for (int i = 3; i <= n; i += 2) {
      if (i % 4 == 1) {
        cout << "pp";
      } else {
        cout << "oo";
      }
    }
    cout << 'y' << '\n';
    return 0;
  }
  for (int i = 0; i < n; i += 2) {
    if (i % 4 == 0) {
      cout << "vv";
    } else {
      cout << "tt";
    }
  }
  cout << '\n' << 'y';
  for (int i = 1; i < n - 1; i += 2) {
    if (i % 4 == 1) {
      cout << "oo";
    } else {
      cout << "pp";
    }
  }
  cout << 'y' << '\n' << 'y';
  for (int i = 1; i < n - 1; i += 2) {
    if (i % 4 == 1) {
      cout << "pp";
    } else {
      cout << "oo";
    }
  }
  cout << 'y' << '\n';
  for (int i = 0; i < n; i += 2) {
    if (i % 4 == 0) {
      cout << "vv";
    } else {
      cout << "tt";
    }
  }
  return 0;
}
