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;

public class dominoes
{
    static Scanner in = new Scanner(System.in);
    public static int number = in.nextInt();
    public static void main(String []s)
    {   
        dom a = new dom();
        dom_2 c = new dom_2();
        
            if(a.number*4 % 2 == 0)
            {
                if(a.number%2 == 0)
                {
                    a.one();
                    a.two();
                    a.three();
                    a.four();
                }
                else
                {
                    c.one();
                    c.two();
                    c.three();
                    c.four();
                }
            }
            else
            {
                System.out.println("-1");
            }   
        
        
    }
}
class dom
{
    int number;
    char result[][];
    char data_[];
    dom()
    {
        number = dominoes.number;
        result = new char[4][number];
        data_ = new char[]{'q','w','e','r','t','y','u','i','o','p','a','s','d','f','g','h'};    
    }
    public void one()
    {
        int data_sch = 1;
        int j = 0;
        for (int i = 0; i < number; i++)
        {
            
            for (; j < 3;)
            {
                if(j == 2)
                {
                    j = 0;
                }
                if(data_sch == 2)
                {
                    result[0][i] = data_[j];
                    j++;
                    data_sch = 1;
                    break;
                }
                else
                {
                    data_sch++;
                    result[0][i] = data_[j];
                    break;
                }
                    
            }
            System.out.print(result[0][i]);
        }
        System.out.println();
    }
    public void two()
    {
        int l  = 0 ;
        int j = 2;
        int data_sch = 1;
        
            result[1][0] = 'g';
            result[1][number-1] = 'h';
            for (int i = 1; i < number-1; i++)
            {
                for (; j < 5;)
                {
                    if(j == 4)
                    {
                        j = 2;
                    }
                    if(data_sch == 2)
                    {
                        result[1][i] = data_[j];
                        j++;
                        data_sch = 1;
                        break;
                    }
                    else
                    {
                        data_sch++;
                        result[1][i] = data_[j];
                        break;
                    }
            }
        }
        
            for (int y = 0; y < number; y++)
            {
                System.out.print(result[1][y]);
            }
            System.out.println();
        
    }
    public void three()
    {
    
            int l  = 0 ;
            int j = 4;
            int data_sch = 1;
            
                result[2][0] = 'g';
                result[2][number-1] = 'h';
                for (int i = 1; i < number-1; i++)
                {
                    for (; j < 7;)
                    {
                        if(j == 6)
                        {
                            j = 4;
                        }
                        if(data_sch == 2)
                        {
                            result[2][i] = data_[j];
                            j++;
                            data_sch = 1;
                            break;
                        }
                        else
                        {
                            data_sch++;
                            result[2][i] = data_[j];
                            break;
                        }
                }
            }
            
                for (int y = 0; y < number; y++)
                {
                    System.out.print(result[2][y]);
                }
                System.out.println();
            
        
        
    }
public void four()
    {
        int data_sch = 1;
        int j = 8;
        for (int i = 0; i < number; i++)
        {
            
            for (; j<11;)
            {
                if(j == 10)
                {
                    j = 8;
                }
                if(data_sch==2)
                {
                    result[3][i] = data_[j];
                    j++;
                    data_sch  = 1;
                    
                    break;
                }
                else
                {
                    result[3][i] = data_[j];
                    
                    data_sch++;
                    break;
                }
                
            }
            System.out.print(result[3][i]);
        }
        System.out.println();

    }
    
}
class dom_2
{
        int number;
        char result[][];
        char data_[];
        dom_2()
        {
            number = dominoes.number;
            result = new char[4][number];
            data_ = new char[]{'q','w','e','r','t','y','u','i','o','p','a','s','d','f','g','h'};    
        }
        public void one()
        {
            int data_sch = 1;
            int j  =0 ;
                result[0][number-1] = 'j';
                for (int i = 0; i < number-1; i++)
                {
                    for (; j < 3;)
                    {
                        if(j == 2)
                        {
                            j = 0;
                        }
                        if(data_sch == 2)
                        {
                            result[0][i] = data_[j];
                            j++;
                            data_sch = 1;
                            break;
                        }
                        else
                        {
                            data_sch++;
                            result[0][i] = data_[j];
                            break;
                        }
                }
                                            
                
                }
                for (int u = 0; u < number; u++)
                {
                    System.out.print(result[0][u]);
                }
                System.out.println();
            
        
        
    }
        public void two()
        {
            int data_sch = 1;
            int j  =2 ;
                result[1][number-1] = 'j';
                for (int i = 0; i < number-1; i++)
                {
                    for (; j < 5;)
                    {
                        if(j == 4)
                        {
                            j = 2;
                        }
                        if(data_sch == 2)
                        {
                            result[1][i] = data_[j];
                            j++;
                            data_sch = 1;
                            break;
                        }
                        else
                        {
                            data_sch++;
                            result[1][i] = data_[j];
                            break;
                        }
                }
                                            
                
                }
                for (int u = 0; u < number; u++)
                {
                    System.out.print(result[1][u]);
                }
                System.out.println();
            
        }
        public void three()
        {
            int data_sch = 1;
            int j  =5 ;
                result[2][0] = 'h';
                for (int i = 1; i < number; i++)
                {
                    for (; j < 8;)
                    {
                        if(j == 7)
                        {
                            j = 5;
                        }
                        if(data_sch == 2)
                        {
                            result[2][i] = data_[j];
                            j++;
                            data_sch = 1;
                            break;
                        }
                        else
                        {
                            data_sch++;
                            result[2][i] = data_[j];
                            break;
                        }
                }
                                            
                
                }
            
                for (int u = 0; u < number; u++)
                {
                    System.out.print(result[2][u]);
                }
                System.out.println();
            
        }   
        public void four()
        {
            int data_sch = 1;
            int j  =9 ;
                result[3][0] = 'h';
                for (int i = 1; i < number; i++)
                {
                    for (; j < 12;)
                    {
                        if(j == 11)
                        {
                            j = 9;
                        }
                        if(data_sch == 2)
                        {
                            result[3][i] = data_[j];
                            j++;
                            data_sch = 1;
                            break;
                        }
                        else
                        {
                            data_sch++;
                            result[3][i] = data_[j];
                            break;
                        }
                }
                                            
                
                }
            
                for (int u = 0; u < number; u++)
                {
                    System.out.print(result[3][u]);
                }
                System.out.println();
            
        }
}