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:
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math")
#include <bits/stdc++.h>
using namespace std;
template<class t> inline t read(t &x){
	char c=getchar();bool f=0;x=0;
	while(!isdigit(c)) f|=c=='-',c=getchar();
	while(isdigit(c)) x=(x<<1)+(x<<3)+(c^48),c=getchar();
	if(f) x=-x;return x;
}
template<class t,class ...A> inline void read(t &x,A &...a){
	read(x);read(a...);
}
template<class t> inline void write(t x){
	if(x<0) putchar('-'),write(-x);
	else{if(x>9) write(x/10);putchar('0'+x%10);}
}

const int N=1005;
const char mt4[5][5]={"aabd","ccbd","efgg","efhh"},mt5[6][6]={"aabbc","dee.c","d..fg","h..fg","hiijj"},mt6[7][7]={"aabc..","ddbc..","..ggef","..hhef","ij..kk","ij..ll"};
const char mt7[8][8]={".aabbcc","d.ee.ff","dg..h..","ig..h..","i.jj.kk","lm..n..","lm..n.."};
int n;
char s[N][N];

signed main(){
	read(n);
	if(n==2) return write(-1),0;
	if(n==3) return puts("aab\nb.b\nbaa"),0;
	for(int i=1;i<=n;i++) for(int j=1;j<=n;j++) s[i][j]='.';
	for(int i=1;i<=n-4;i+=4){
		for(int x=0;x<4;x++) for(int y=0;y<4;y++) s[i+x][i+y]=mt4[x][y];
	}
	int r=n%4,b=n-3-r;
	if(r==0) for(int x=0;x<4;x++) for(int y=0;y<4;y++) s[b+x][b+y]=mt4[x][y];
	if(r==1) for(int x=0;x<5;x++) for(int y=0;y<5;y++) s[b+x][b+y]=mt5[x][y];
	if(r==2) for(int x=0;x<6;x++) for(int y=0;y<6;y++) s[b+x][b+y]=mt6[x][y];
	if(r==3) for(int x=0;x<7;x++) for(int y=0;y<7;y++) s[b+x][b+y]=mt7[x][y];
	for(int i=1;i<=n;i++,puts("")) for(int j=1;j<=n;j++) putchar(s[i][j]);
}