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;
  char ch = 'a';
  char res[4][101] = {};
  cin >> n;
  if (n % 2 == 0) {
    int i = 0;
    for (i = 0; i < n / 2; i++) {
      res[0][2 * i] = (char)(ch + i % 26);
      res[0][2 * i + 1] = (char)(ch + i % 26);
    }
    i = i % 26;
    if (res[0][0] == (char)(ch + i)) i++;
    res[1][0] = (char)(ch + i % 26);
    res[2][0] = (char)(ch + i % 26);
    int k = 0;
    for (i = 0; i < n / 2 - 1; i++) {
      char ch = 'a';
      k++;
      int fl = 1;
      while (fl) {
        if (res[1][2 * i] == (char)(ch + k % 26) ||
            res[0][2 * i + 1] == (char)(ch + k % 26) ||
            res[0][2 * i + 2] == (char)(ch + k % 26))
          k++;
        else
          fl = 0;
      }
      res[1][2 * i + 1] = (char)(ch + k % 26);
      res[1][2 * i + 2] = (char)(ch + k % 26);
    }
    for (i = 0; i < n / 2 - 1; i++) {
      char ch = 'a';
      k++;
      int fl = 1;
      while (fl) {
        if (res[2][2 * i] == (char)(ch + k % 26) ||
            res[1][2 * i + 1] == (char)(ch + k % 26) ||
            res[1][2 * i + 2] == (char)(ch + k % 26))
          k++;
        else
          fl = 0;
      }
      res[2][2 * i + 1] = (char)(ch + k % 26);
      res[2][2 * i + 2] = (char)(ch + k % 26);
    }
    i = res[1][n - 2];
    while ((char)(ch + i % 26) == res[1][n - 2] ||
           (char)(ch + i % 26) == res[2][n - 2])
      i++;
    res[1][n - 1] = (char)(ch + i % 26);
    res[2][n - 1] = (char)(ch + i % 26);
    k = 0;
    for (i = 0; i < n / 2; i++) {
      char ch = 'a';
      k++;
      int fl = 1;
      while (fl) {
        if (res[2][2 * i] == (char)(ch + k % 26) ||
            res[2][2 * i + 1] == (char)(ch + k % 26))
          k++;
        else
          fl = 0;
      }
      res[3][2 * i] = (char)(ch + k % 26);
      res[3][2 * i + 1] = (char)(ch + k % 26);
    }
  } else {
    int i = 0;
    for (i = 0; i < n / 2; i++) {
      res[0][2 * i] = (char)(ch + i % 26);
      res[0][2 * i + 1] = (char)(ch + i % 26);
    }
    i = i % 26;
    if (res[0][n - 2] == (char)(ch + i)) i++;
    res[0][n - 1] = (char)(ch + i % 26);
    res[1][n - 1] = (char)(ch + i % 26);
    int k = 0;
    for (i = 0; i < n / 2; i++) {
      char ch = 'a';
      k++;
      int fl = 1;
      while (fl) {
        if (res[0][2 * i] == (char)(ch + k % 26) ||
            res[0][2 * i + 1] == (char)(ch + k % 26) ||
            res[0][n - 1] == (char)(ch + k % 26))
          k++;
        else
          fl = 0;
      }
      res[1][2 * i + 1] = (char)(ch + k % 26);
      res[1][2 * i] = (char)(ch + k % 26);
    }
    i = i % 26;
    if (res[1][0] == (char)(ch + i)) i++;
    res[2][0] = (char)(ch + i % 26);
    res[3][0] = (char)(ch + i % 26);
    for (i = 0; i < n / 2; i++) {
      char ch = 'a';
      k++;
      int fl = 1;
      while (fl) {
        if (res[1][2 * i + 1] == (char)(ch + k % 26) ||
            res[1][2 * i + 2] == (char)(ch + k % 26) ||
            res[2][2 * i] == (char)(ch + k % 26))
          k++;
        else
          fl = 0;
      }
      res[2][2 * i + 1] = (char)(ch + k % 26);
      res[2][2 * i + 2] = (char)(ch + k % 26);
    }
    for (i = 0; i < n / 2; i++) {
      char ch = 'a';
      k++;
      int fl = 1;
      while (fl) {
        if (res[2][2 * i + 1] == (char)(ch + k % 26) ||
            res[2][2 * i + 2] == (char)(ch + k % 26) ||
            res[3][2 * i] == (char)(ch + k % 26))
          k++;
        else
          fl = 0;
      }
      res[3][2 * i + 1] = (char)(ch + k % 26);
      res[3][2 * i + 2] = (char)(ch + k % 26);
    }
  }
  for (int i = 0; i < 4; i++) cout << res[i] << endl;
  return 0;
}