Problem: Let us consider a grid of squares with N rows and N columns. You want to put some domino pieces on this grid. Each domino piece covers two squares that have a common side. Each square can be covered by at most one piece.

For each row of the grid, let's define its quality as the number of domino pieces that cover at least one square in this row. We define the quality of each column similarly.

Find a way to put at least one domino piece on the grid so that the quality of every row is equal to the quality of every column, or determine that such a placement doesn't exist.

Constraints

* 2 \le N \le 1000

Input

Input is given from Standard Input in the following format:


N


Output

If the required domino placement doesn't exist, print a single integer `-1`.

Otherwise, output your placement as N strings of N characters each. If a square is not covered, the corresponding character must be `.` (a dot). Otherwise, it must contain a lowercase English letter. Squares covered by the same domino piece must contain the same letter. If two squares have a common side but belong to different pieces, they must contain different letters.

Examples

Input

6


Output

aabb..
b..zz.
ba....
.a..aa
..a..b
..a..b


Input

2


Output

-1

Solution (in CPP):

Solution:
#include<bits/stdc++.h>
using namespace std;

void read(int &x) {
    x=0;int f=1;char ch=getchar();
    for(;!isdigit(ch);ch=getchar()) if(ch=='-') f=-f;
    for(;isdigit(ch);ch=getchar()) x=x*10+ch-'0';x*=f;
}

void print(int x) {
    if(x<0) putchar('-'),x=-x;
    if(!x) return ;print(x/10),putchar(x%10+48);
}
void write(int x) {if(!x) putchar('0');else print(x);putchar('\n');}

#define lf double
#define ll long long 

#define pii pair<int,int >
#define vec vector<int >

#define pb push_back
#define mp make_pair
#define fr first
#define sc second

#define data asd09123jdf02i3h

#define FOR(i,l,r) for(int i=l,i##_r=r;i<=i##_r;i++)

const int maxn = 1e6+10;
const int inf = 1e9;
const lf eps = 1e-8;
const int mod = 1e9+7;

string s4[4] = {"aabd",
                "ccbd",
                "efgg",
                "efhh"};

string s5[5] = {"aabbc",
                "hii.c",
                "h..jd",
                "g..jd",
                "gffee"};

string s6[6] = {"aa.ccd",
                "..bf.d",
                "..bfee",
                "ccdaa.",
                "f.d..b",
                "fee..b"};

string s7[7] = {"gghhii.",
                "aa.cc.j",
                "..b..ej",
                "..b..ek",
                "cc.aa.k",
                "..d..bl",
                "..d..bl"};

char s[1002][1002];

void gao(int x,string *p,int t) {
    for(int i=0;i<t;i++)
        for(int j=0;j<t;j++)
            s[x+i][x+j]=p[i][j];
}

int main() {
    int n;read(n);
    if(n==2) return puts("-1"),0;
    if(n==3) {
        puts("aa.\n..b\n..b");
        return 0;
    }
    int x=n/4;if(n%4!=0) x--;
    for(int i=1;i<=n;i++)
        for(int j=1;j<=n;j++) s[i][j]='.';
    for(int c=0;c<x;c++) gao(c*4+1,s4,4);
    int y=n-x*4;
    if(n%4!=0) gao(x*4+1,y==5?s5:(y==6?s6:s7),y);
    for(int i=1;i<=n;i++) printf("%s\n",s[i]+1);
    return 0;
}