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;
char a[5][101];
bool mark[26];
int main() {
  int i, j, m;
  while (cin >> m) {
    for (i = 1; i <= 4; i++)
      for (j = 1; j <= m; j++) a[i][j] = ' ';
    if (m % 2 == 1) {
      for (i = 1; i <= m; i++) {
        a[1][i] = i % 26 + 'a';
        if (i + 1 <= m) {
          a[1][i + 1] = a[1][i];
          i++;
        } else {
          a[2][i] = a[1][i];
        }
      }
      for (i = m; i >= 1; i--) {
        if (a[2][i] != ' ') continue;
        memset(mark, 0, sizeof(mark));
        mark[a[1][i] - 'a'] = true;
        if (i - 1 >= 1) mark[a[1][i - 1] - 'a'] = true;
        if (i + 1 <= m) mark[a[2][i + 1] - 'a'] = true;
        for (j = 0; j < 26; j++)
          if (!mark[j]) break;
        a[2][i] = j + 'a';
        if (i - 1 >= 1) a[2][i - 1] = j + 'a';
      }
      for (i = m; i >= 1; i--) {
        if (a[3][i] != ' ') continue;
        memset(mark, 0, sizeof(mark));
        mark[a[2][i] - 'a'] = true;
        if (i - 1 >= 1) mark[a[2][i - 1] - 'a'] = true;
        if (i + 1 <= m) mark[a[3][i + 1] - 'a'] = true;
        for (j = 0; j < 26; j++)
          if (!mark[j]) break;
        a[3][i] = j + 'a';
        if (i - 1 >= 1)
          a[3][i - 1] = j + 'a';
        else
          a[4][i] = j + 'a';
      }
      for (i = 1; i <= m; i++) {
        if (a[4][i] != ' ') continue;
        memset(mark, 0, sizeof(mark));
        mark[a[3][i] - 'a'] = true;
        if (i + 1 <= m) mark[a[3][i + 1] - 'a'] = true;
        if (i - 1 >= 1) mark[a[4][i - 1] - 'a'] = true;
        for (j = 0; j < 26; j++)
          if (!mark[j]) break;
        a[4][i] = j + 'a';
        if (i + 1 <= m) a[4][i + 1] = j + 'a';
      }
      for (i = m; i >= 1; i--) {
        if (a[4][i] != ' ') continue;
        memset(mark, 0, sizeof(mark));
        mark[a[3][i] - 'a'] = true;
        if (i - 1 >= 1) mark[a[3][i - 1] - 'a'] = true;
        if (i + 1 <= m) mark[a[4][i + 1] - 'a'] = true;
        for (j = 0; j < 26; j++)
          if (!mark[j]) break;
        a[4][i] = j + 'a';
        if (i - 1 >= 1) a[4][i - 1] = j + 'a';
      }
    } else {
      for (i = 1; i <= m; i++) {
        a[1][i] = i % 26 + 'a';
        a[1][i + 1] = a[1][i];
        i++;
      }
      memset(mark, 0, sizeof(mark));
      mark[a[1][m] - 'a'] = true;
      for (i = 0; i < 26; i++)
        if (!mark[i]) break;
      a[2][m] = a[3][m] = i + 'a';
      for (i = m; i > 1; i--) {
        if (a[2][i] != ' ') continue;
        memset(mark, 0, sizeof(mark));
        mark[a[1][i] - 'a'] = true;
        if (i - 1 >= 1) mark[a[1][i - 1] - 'a'] = true;
        if (i + 1 <= m) mark[a[2][i + 1] - 'a'] = true;
        for (j = 0; j < 26; j++)
          if (!mark[j]) break;
        a[2][i] = j + 'a';
        a[2][i - 1] = j + 'a';
      }
      for (i = m; i > 1; i--) {
        if (a[3][i] != ' ') continue;
        memset(mark, 0, sizeof(mark));
        mark[a[2][i] - 'a'] = true;
        if (i - 1 >= 1) mark[a[2][i - 1] - 'a'] = true;
        if (i + 1 <= m) mark[a[3][i + 1] - 'a'] = true;
        for (j = 0; j < 26; j++)
          if (!mark[j]) break;
        a[3][i] = j + 'a';
        a[3][i - 1] = j + 'a';
      }
      memset(mark, 0, sizeof(mark));
      mark[a[1][1] - 'a'] = true;
      mark[a[2][2] - 'a'] = true;
      mark[a[3][2] - 'a'] = true;
      for (i = 0; i < 26; i++)
        if (!mark[i]) break;
      a[2][1] = a[3][1] = i + 'a';
      for (i = 1; i <= m; i++) {
        if (a[4][i] != ' ') continue;
        memset(mark, 0, sizeof(mark));
        mark[a[3][i] - 'a'] = true;
        if (i + 1 <= m) mark[a[3][i + 1] - 'a'] = true;
        if (i - 1 >= 1) mark[a[4][i - 1] - 'a'] = true;
        for (j = 0; j < 26; j++)
          if (!mark[j]) break;
        a[4][i] = j + 'a';
        if (i + 1 <= m) a[4][i + 1] = j + 'a';
      }
    }
    for (i = 1; i <= 4; i++) {
      for (j = 1; j <= m; j++) cout << a[i][j];
      cout << endl;
    }
  }
}