#include <bits/stdc++.h>
char s[5][110];
int main() {
  int n, i, j;
  scanf("%d", &n);
  for (i = 0; i < 4; i++) memset(s[i], 'z', n);
  if (n == 1) {
    printf("a\na\nb\nb\n");
    return 0;
  }
  if (n == 2) {
    printf("aa\nbb\naa\nbb\n");
    return 0;
  }
  int t = 1;
  for (j = 1; j + 1 < n; j += 2) {
    s[0][j] = 'e' + t;
    s[0][j + 1] = 'e' + t;
    s[1][j] = 'e' + 1 - t;
    s[1][j + 1] = 'e' + 1 - t;
    t = !t;
  }
  for (j = 0; j + 1 < n; j += 2) {
    s[2][j] = 'a' + t;
    s[2][j + 1] = 'a' + t;
    s[3][j] = 'a' + 1 - t;
    s[3][j + 1] = 'a' + 1 - t;
    t = !t;
  }
  for (j = 0; j < n; j++) printf("%c", s[0][j]);
  for (i = 1; i < 4; i++) {
    printf("\n");
    for (j = 0; j < n; j++) printf("%c", s[i][j]);
  }
  return 0;
}
