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 JAVA):

Solution:

import java.util.Scanner;

/**
 *
 * @author madi
 */

public class Yandex1A {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.nextLine());
        char[] tr = {'a', 'b', 'c', 'd',
                     'e', 'f', 'g', 'h',
                     'i', 'j', 'k', 'l',
                     'm', 'n', 'o', 'p',
                     'q', 'r', 's', 't',
                     'u', 'v', 'w', 'x',
                     'y', 'z'};

        char[][] res = new char[4][n];

        if (n >= 1) {
            if (n % 2 == 0) {
                boolean k = true;
                for (int i = 0; i < n - 1; i+=2) {
                    if (k) {
                        res[0][i] = 'a';
                        res[0][i + 1] = 'a';
                        res[3][i] = 'a';
                        res[3][i + 1] = 'a';
                    } else {
                        res[0][i] = 'b';
                        res[0][i + 1] = 'b';
                        res[3][i] = 'b';
                        res[3][i + 1] = 'b';
                    }
                    k = !k;
                }
                res[1][0] = 'c';
                res[2][0] = 'c';
                res[1][n - 1] = 'd';
                res[2][n - 1] = 'd';
                k = true;
                for (int i = 1; i < n - 2; i+=2) {
                    if (k) {
                        res[1][i] = 'e';
                        res[1][i + 1] = 'e';
                    } else {
                        res[1][i] = 'f';
                        res[1][i + 1] = 'f';
                    }
                    k = !k;
                }
                for (int i = 1; i < n - 2; i+=2) {
                    if (k) {
                        res[2][i] = 'g';
                        res[2][i + 1] = 'g';
                    } else {
                        res[2][i] = 'h';
                        res[2][i + 1] = 'h';
                    }
                    k = !k;
                }
            } else {
                boolean k = true;
                for (int i = 1; i < n - 1; i+=2) {
                    if (k) {
                        res[0][i] = 'a';
                        res[0][i + 1] = 'a';
                        res[1][i] = 'b';
                        res[1][i + 1] = 'b';
                    } else {
                        res[0][i] = 'c';
                        res[0][i + 1] = 'c';
                        res[1][i] = 'd';
                        res[1][i + 1] = 'd';
                    }
                    k = !k;
                }
                k = true;
                for (int i = 0; i < n - 1; i+=2) {
                    if (k) {
                        res[2][i] = 'e';
                        res[2][i + 1] = 'e';
                        res[3][i] = 'f';
                        res[3][i + 1] = 'f';
                    } else {
                        res[2][i] = 'g';
                        res[2][i + 1] = 'g';
                        res[3][i] = 'h';
                        res[3][i + 1] = 'h';
                    }
                    k = !k;
                }
                res[0][0] = 'i';
                res[1][0] = 'i';
                res[2][n - 1] = 'j';
                res[3][n - 1] = 'j';

            }
        }

        for (int i = 0; i < 4; i++) {
            for (int j = 0; j < n; j++) {
                System.out.print(res[i][j]);
            }
            System.out.println("");
        }
    }
}