#include <bits/stdc++.h>
using namespace std;
int n;
char ans[5][105];
int main() {
  scanf("%d", &n);
  if (n == 1) {
    printf("a\na\nb\nb\n");
    return 0;
  } else {
    memset(ans, 0, sizeof(ans));
    ans[1][1] = ans[2][1] = 'y';
    char cc = 'a';
    for (int i = (1); i <= (n - 1); i++) {
      if (i % 2) {
        ans[3][i] = ans[3][i + 1] = cc;
        ans[4][i] = ans[4][i + 1] = cc + 1;
        cc += 2;
      } else {
        ans[1][i] = ans[1][i + 1] = cc;
        ans[2][i] = ans[2][i + 1] = cc + 1;
        cc += 2;
      }
      if (cc > 'f') cc = 'a';
    }
    for (int i = (1); i <= (4); i++) {
      for (int j = (1); j <= (n); j++) {
        if (ans[i][j] == 0) ans[i][j] = 'z';
        printf("%c", ans[i][j]);
      }
      printf("\n");
    }
  }
  return 0;
}
