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 main() {
  int N;
  int mat[4][100];
  int i, j, c;
  int tip = 0;
  int id = 1;
  char res[4][1000];
  scanf("%d", &N);
  memset(res, 0, sizeof(res));
  if (N % 2) {
    for (j = 0; j < N - 1; j += 2) {
      for (i = 0; i < 2; i++) {
        mat[i][j + 0] = id;
        mat[i][j + 1] = id;
        id++;
      }
      for (i = 2; i < 4; i++) {
        mat[i][j + 1] = id;
        mat[i][j + 2] = id;
        id++;
      }
    }
    mat[0][N - 1] = id;
    mat[1][N - 1] = id;
    id++;
    mat[2][0] = id;
    mat[3][0] = id;
    id++;
  } else {
    for (j = 0; j < N; j += 2) {
      for (i = 0; i < 4; i += 3) {
        mat[i][j + 0] = id;
        mat[i][j + 1] = id;
        id++;
      }
    }
    for (j = 1; j < N - 1; j += 2) {
      for (i = 1; i < 4; i *= 2) {
        mat[i][j + 0] = id;
        mat[i][j + 1] = id;
        id++;
      }
    }
    mat[1][N - 1] = id;
    mat[2][N - 1] = id;
    id++;
    mat[1][0] = id;
    mat[2][0] = id;
    id++;
  }
  for (i = 0; i < 4; i++) {
    for (j = 0; j < N; j++) {
      if (res[i][j]) continue;
      if (j + 1 < N && mat[i][j] == mat[i][j + 1]) {
        for (c = 1;
             c <= 26 &&
             ((i && c == res[i - 1][j]) || (i && c == res[i - 1][j + 1]) ||
              (j && c == res[i][j - 1]) || (j + 1 < N && c == res[i][j + 2]));
             c++)
          ;
        res[i][j] = c;
        res[i][j + 1] = c;
      } else {
        for (c = 1;
             c <= 26 &&
             ((i && c == res[i - 1][j]) || (j && c == res[i + 1][j - 1]) ||
              (j && c == res[i][j - 1]) || (j + 2 < N && c == res[i][j + 1]));
             c++)
          ;
        res[i][j] = c;
        res[i + 1][j] = c;
      }
    }
  }
  for (i = 0; i < 4; i++) {
    for (j = 0; j < N; j++) printf("%c", res[i][j] + 'a' - 1);
    cout << endl;
  }
  return 0;
}