#include <bits/stdc++.h>
int n;
char pai[10][110];
int main(void) {
  scanf("%d", &n);
  if ((n & 1) == 0) {
    for (int i = 1; i <= n; i += 2) {
      if ((i - 1) / 2 % 2 == 1)
        pai[1][i] = pai[1][i + 1] = pai[4][i] = pai[4][i + 1] = 'a';
      else
        pai[1][i] = pai[1][i + 1] = pai[4][i] = pai[4][i + 1] = 'b';
    }
    for (int i = 2; i < n; i += 2) {
      if ((i) / 2 % 2 == 1)
        pai[2][i] = pai[2][i + 1] = 'f', pai[3][i] = pai[3][i + 1] = 'c';
      else
        pai[2][i] = pai[2][i + 1] = 'g', pai[3][i] = pai[3][i + 1] = 'd';
    }
    pai[2][1] = pai[3][1] = 'x';
    pai[2][n] = pai[3][n] = 'y';
  } else {
    for (int i = 1; i < n; i += 2) {
      if ((i - 1) / 2 % 2 == 1)
        pai[1][i] = pai[1][i + 1] = 'q', pai[2][i] = pai[2][i + 1] = 'a';
      else
        pai[1][i] = pai[1][i + 1] = 'w', pai[2][i] = pai[2][i + 1] = 'b';
    }
    for (int i = 2; i <= n; i += 2) {
      if ((i) / 2 % 2 == 1)
        pai[4][i] = pai[4][i + 1] = 'f', pai[3][i] = pai[3][i + 1] = 'c';
      else
        pai[4][i] = pai[4][i + 1] = 'g', pai[3][i] = pai[3][i + 1] = 'd';
    }
    pai[1][n] = pai[2][n] = 'x';
    pai[3][1] = pai[4][1] = 'z';
  }
  for (int i = 1; i <= 4; ++i) {
    for (int j = 1; j <= n; ++j) printf("%c", pai[i][j]);
    puts("");
  }
  return 0;
}
