#include <bits/stdc++.h>
int main() {
  int n;
  std::cin >> n;
  if (n % 2 == 0) {
    for (int i = 0; i < n / 2; ++i) {
      if (i % 2 == 0) {
        std::cout << "aa";
      } else {
        std::cout << "bb";
      }
    }
    std::cout << std::endl;
    std::cout << "d";
    int k = 1;
    for (int i = 0; i < n / 2 - 1; ++i) {
      std::cout << char('d' + k) << char('d' + k);
      k = 1 - k;
    }
    std::cout << char('r') << std::endl;
    std::cout << "d";
    k = 1;
    for (int i = 0; i < n / 2 - 1; ++i) {
      std::cout << char('h' + k) << char('h' + k);
      k = 1 - k;
    }
    std::cout << char('r') << std::endl;
    for (int i = 0; i < n / 2; ++i) {
      if (i % 2 == 0) {
        std::cout << "aa";
      } else {
        std::cout << "bb";
      }
    }
  } else {
    for (int i = 0; i < n / 2; ++i) {
      if (i % 2 == 0) {
        std::cout << "aa";
      } else {
        std::cout << "bb";
      }
    }
    std::cout << "c" << std::endl;
    for (int i = 0; i < n / 2; ++i) {
      if (i % 2 == 0) {
        std::cout << "dd";
      } else {
        std::cout << "ee";
      }
    }
    std::cout << "c" << std::endl;
    std::cout << "u";
    for (int i = 0; i < n / 2; ++i) {
      if (i % 2 == 0) {
        std::cout << "gg";
      } else {
        std::cout << "hh";
      }
    }
    std::cout << std::endl;
    std::cout << "u";
    for (int i = 0; i < n / 2; ++i) {
      if (i % 2 == 0) {
        std::cout << "rr";
      } else {
        std::cout << "ll";
      }
    }
    std::cout << std::endl;
  }
  return 0;
}
