#include <bits/stdc++.h>
using namespace std;
int B[4][100];
int N;
int main() {
  scanf("%d", &N);
  int cnt = 0;
  if (N % 2) {
    B[0][0] = cnt;
    B[1][0] = cnt;
    cnt++;
    int j = 1;
    int k = 0;
    for (int i = 0; i < ((N - 1) / 2); i++) {
      B[0][j] = cnt;
      B[0][j + 1] = cnt;
      cnt++;
      B[1][j++] = cnt;
      B[1][j++] = cnt;
      cnt++;
      B[2][k] = cnt;
      B[2][k + 1] = cnt;
      cnt++;
      B[3][k++] = cnt;
      B[3][k++] = cnt;
      cnt++;
    }
    B[2][k] = cnt;
    B[3][k] = cnt;
  } else {
    int j = 0;
    int k = 0;
    B[0][j] = cnt;
    B[0][j + 1] = cnt;
    cnt++;
    B[1][j++] = cnt;
    B[1][j++] = cnt;
    cnt++;
    B[2][k] = cnt;
    B[3][k++] = cnt;
    cnt++;
    for (int i = 0; i < (((N - 2) / 2)); i++) {
      B[0][j] = cnt;
      B[0][j + 1] = cnt;
      cnt++;
      B[1][j++] = cnt;
      B[1][j++] = cnt;
      cnt++;
      B[2][k] = cnt;
      B[2][k + 1] = cnt;
      cnt++;
      B[3][k++] = cnt;
      B[3][k++] = cnt;
      cnt++;
    }
    B[2][k] = cnt;
    B[3][k++] = cnt;
  }
  for (int k = 0; k < (4); k++) {
    for (int i = 0; i < (N); i++) printf("%c", 'a' + B[k][i] % 26);
    printf("\n");
  }
  return 0;
}
