Problem: We all know the problem about the number of ways one can tile a 2 × n field by 1 × 2 dominoes. You probably remember that it goes down to Fibonacci numbers. We will talk about some other problem below, there you also are going to deal with tiling a rectangular field with dominoes.

You are given a 4 × n rectangular field, that is the field that contains four lines and n columns. You have to find for it any tiling by 1 × 2 dominoes such that each of the n - 1 potential vertical cuts along the grid lines intersects at least one domino, splitting it in two. No two dominoes in the sought tiling should overlap, each square of the field should be covered by exactly one domino. It is allowed to rotate the dominoes, that is, you can use 2 × 1 as well as 1 × 2 dominoes.

Write a program that finds an arbitrary sought tiling. 

Input

The input contains one positive integer n (1 ≤ n ≤ 100) — the number of the field's columns.

Output

If there's no solution, print "-1" (without the quotes). Otherwise, print four lines containing n characters each — that's the description of tiling, where each vertical cut intersects at least one domino. You should print the tiling, having painted the field in no more than 26 colors. Each domino should be painted a color. Different dominoes can be painted the same color, but dominoes of the same color should not be side-neighbouring. To indicate colors you should use lowercase Latin letters. Print any of the acceptable ways of tiling.

Examples

Input

4


Output

yyzz
bccd
bxxd
yyaa

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
int n, i, j, k, s, x, y, x2, y2;
int dx[] = {-1, 0, 1, 0};
int dy[] = {0, 1, 0, -1};
int A[5][101], C[5][101];
bool B[27];
int main() {
  scanf("%d", &n);
  if (n == 1) {
    for (i = 0; i < 2; i++) printf("a\n");
    for (i = 0; i < 2; i++) printf("b\n");
    return 0;
  }
  if (n & 1) {
    for (i = 0; i + 1 < n; i += 2) {
      A[0][i] = A[0][i + 1] = ++s;
      A[1][i] = A[1][i + 1] = ++s;
    }
    for (i = 1; i + 1 < n; i += 2) {
      A[2][i] = A[2][i + 1] = ++s;
      A[3][i] = A[3][i + 1] = ++s;
    }
    A[0][n - 1] = A[1][n - 1] = ++s;
    A[2][0] = A[3][0] = ++s;
  } else {
    for (i = 0; i + 1 < n; i += 2) {
      A[0][i] = A[0][i + 1] = ++s;
      A[3][i] = A[3][i + 1] = ++s;
    }
    for (i = 1; i + 1 < n; i += 2) {
      A[1][i] = A[1][i + 1] = ++s;
      A[2][i] = A[2][i + 1] = ++s;
    }
    A[1][0] = A[2][0] = ++s;
    A[1][n - 1] = A[2][n - 1] = ++s;
  }
  memset(C, -1, sizeof C);
  for (i = 0; i < 4; i++)
    for (j = 0; j < n; j++)
      if (C[i][j] == -1) {
        memset(B, 0, sizeof B);
        if (j + 1 < n && A[i][j + 1] == A[i][j]) {
          x = i;
          y = j + 1;
        } else {
          x = i + 1;
          y = j;
        }
        for (k = 0; k < 4; k++) {
          x2 = i + dx[k];
          y2 = j + dy[k];
          if ((x2 >= 0 && x2 < 4) && (y2 >= 0 && y2 < n) && C[x2][y2] != -1)
            B[C[x2][y2]] = 1;
        }
        for (k = 0; k < 4; k++) {
          x2 = x + dx[k];
          y2 = y + dy[k];
          if ((x2 >= 0 && x2 < 4) && (y2 >= 0 && y2 < n) && C[x2][y2] != -1)
            B[C[x2][y2]] = 1;
        }
        for (k = 0; B[k]; k++)
          ;
        C[i][j] = C[x][y] = k;
      }
  for (i = 0; i < 4; i++) {
    for (j = 0; j < n; j++) printf("%c", 'a' + C[i][j]);
    printf("\n");
  }
  return 0;
}