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;
#define REP(i,a,b) for(int i=(a),_ed=(b);i<=_ed;++i)
#define DREP(i,a,b) for(int i=(a),_ed=(b);i>=_ed;--i)
typedef long long ll;
inline int read(){
    register int x=0,f=1;register char ch=getchar();
    while(!isdigit(ch)){if(ch=='-')f=0;ch=getchar();}
    while(isdigit(ch)){x=x*10+(ch^'0');ch=getchar();}
    return f?x:-x;
}

const char s[4][7][8]={{"aaba","ccba","abcc","abaa"},
		       {"aa.ab",".bbab","a.cca","a.a.a","bbabb"},
		       {"aaca..","bbca..","ac..aa","ac..bb","..aaca","..bbca"},
		       {"aaca...","bbca...","ac.bb..","ac...aa","..a.abb","..a.a.a","..ccbba"}};

int main(){
    //freopen("in.in","r",stdin);
    int n=read(),k=n%4+4;
    if(n<3)return puts("-1"),0;
    if(n==3)return puts("aab\nb.b\nbaa"),0;
    for(int _=1,j=0;_<=n-k;_+=4,++j){
	int m=j*4;
	REP(t,0,3){
	    REP(i,1,m)putchar('.');
	    REP(i,0,3)putchar(s[0][t][i]);
	    REP(i,m+5,n)putchar('.');
	    puts("");
	}
    }
    int m=k%4;
    REP(t,0,k-1){
	REP(i,1,n-k)putchar('.');
	REP(i,0,k-1)putchar(s[m][t][i]);
	puts("");
    }
    return 0;
}