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:
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.util.*;
import java.io.*;
import java.math.*;

/************************
 *                      *
 *    Lord Klotski      *
 *                      *
 ***********************/
public class Yandex1_2011_A
{

    public static void main(String[] args)
    {
        Scanner input = new Scanner(System.in);
        int N = input.nextInt() ;
        char[][] ans = new char[4][N] ;
        
        if (N == 1) 
        {
            System.out.println("a");
            System.out.println("a");
            System.out.println("b");
            System.out.println("b");
        }
        else if (N == 2)
        {
            System.out.println("aa");
            System.out.println("bb");
            System.out.println("cc");
            System.out.println("dd");
        }
        else
        {
            int cur = 0 ;
            
            if (N%2 == 0)
            {
                for (int i = 0 ; i < N ; i ++)
                {
                    ans[0][i] = (i%4 == 0 || i%4 == 1) ? 'a' : 'b' ;
                    ans[3][i] = (i%4 == 0 || i%4 == 1) ? 'a' : 'b' ;
                }
                ans[1][0] = 'c' ; ans[2][0] = 'c' ;
                ans[1][N-1] = 'q' ; ans[2][N-1] = 'q' ;
                for (int i = 1 ; i < N-1 ; i ++)
                {
                    ans[1][i] = (i%4 == 1 || i % 4 == 2) ? 'd' : 'e' ;
                    ans[2][i] = (i%4 == 1 || i % 4 == 2) ? 'f' : 'g' ;
                }
            }
            else
            {
                for (int i = 0 ; i < N-1 ; i ++)
                {
                    ans[0][i] = (i%4 == 0 || i%4 == 1) ? 'a' : 'b' ;
                    ans[1][i] = (i%4 == 0 || i%4 == 1) ? 'c' : 'd' ;
                    ans[2][i+1] = (i%4 == 0 || i%4 == 1) ? 'e' : 'g' ;
                    ans[3][i+1] = (i%4 == 0 || i%4 == 1) ? 'f' : 'h' ;
                }
                ans[1][N-1] = ans[0][N-1] = 'z' ;
                ans[2][0] = ans[3][0] = 'w' ;
            }
            //while (N > 0)
            //{
                /*if (N % 2 == 1)
                {
                    ans[0][0] = ans[0][1] = 'e' ; ans[0][2] = 'f' ;
                    ans[1][0] = ans[1][1] = 'g' ; ans[1][2] = 'f' ;
                    ans[2][1] = ans[2][2] = 'h' ; ans[2][0] = 'i' ;
                    ans[3][1] = ans[3][2] = 'j' ; ans[3][0] = 'i' ;
                    
                    N -= 3 ; cur = 3 ;
                }
                else if (N >= 4)
                {
                    ans[0][cur] = ans[0][cur+1] = 'a' ; ans[0][cur+2] = ans[0][cur+3] = 'b' ;
                    ans[1][cur] = 'k' ; ans[1][cur+1] = 'l' ; ans[1][cur+2] = 'l' ; ans[1][cur+3] = 'n' ;
                    ans[2][cur] = 'k' ; ans[2][cur+1] = 'm' ; ans[2][cur+2] = 'm' ; ans[2][cur+3] = 'n' ;
                    ans[3][cur] = ans[3][cur+1] = 'c' ; ans[3][cur+2] = ans[3][cur+3] = 'd' ;
                    N -= 4 ; cur += 4 ;
                }
                else
                {
                    ans[0][cur] = ans[0][cur+1] = 'p' ;
                    ans[1][cur] = ans[1][cur+1] = 'q' ;
                    ans[2][cur] = ans[2][cur+1] = 'r' ;
                    ans[3][cur] = ans[3][cur+1] = 's' ;
                    N = 0 ; cur = 0 ;
                }*/
            //}
            for (int j = 0 ; j < 4 ; j ++)
            {
                for (int i = 0 ; i < ans[j].length ; i ++)
                    System.out.print(ans[j][i]);
                System.out.println("");
            }
        }
        
    }
}