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>
#define rep(i,a,b) for(int i=(a);i<=(b);i++)
#define per(i,a,b) for(int i=(a);i>=(b);i--)
#define REP(i,n) for(int i=(0);i<(n);i++)
#define fi first
#define se seoncd
#define pb push_back
#define mp make_pair
using namespace std;
typedef pair<int,int> pii;
typedef vector<int> vi;
typedef long long ll;

template<class T> inline void read(T &x){
	int f=0;x=0;char ch=getchar();
	for(;!isdigit(ch);ch=getchar())f|=(ch=='-');
	for(;isdigit(ch);ch=getchar())x=x*10+ch-'0';
	if(f)x=-x;
}

const int N=1005;
const char m3[3][4]={
	"..a",
	"..a",
	"bb."
};
const char m5[5][6]={
	"abbcc",
	"add.e",
	"f..ge",
	"f..gh",
	"iijjh"
};
const char m7[7][8]={
	"..a..bc",
	"..a..bc",
	"ddeff..",
	"..e.ghh",
	"..iigjj",
	"kk.lm..",
	"nn.lm.."
};
char ans[N][N];
int n;

void R(int x,int y){
	char c='a'+(x*3+y)%9;
	ans[x][y]=ans[x][y+1]=c;
}
void D(int x,int y){
	char c='a'+(x*3+y)%9;
	ans[x][y]=ans[x+1][y]=c;
}

int solve(int b,int n){
	if(n<=2) return 0;
	if(n%2==0){
		REP(i,n/2){
			int j=(i+1)%(n/2);
			R(b+1+i*2,b+1+i*2);
			R(b+1+i*2+1,b+1+i*2);
			D(b+1+i*2,b+1+j*2);
			D(b+1+i*2,b+1+j*2+1);
		}
		return 1;
	}
	if(n==3){
		REP(i,3) REP(j,3)
			ans[b+1+i][b+1+j]=m3[i][j];
		return 1;
	}
	if(n==5){
		REP(i,5) REP(j,5)
			ans[b+1+i][b+1+j]=m5[i][j];
		return 1;
	}
	if(n==7){
		REP(i,7) REP(j,7)
			ans[b+1+i][b+1+j]=m7[i][j];
		return 1;
	}
	solve(b,n-5),solve(b+n-5,5);
	return 1;
}

int main(){
	read(n);
	rep(i,1,n) rep(j,1,n) ans[i][j]='.';
	if(!solve(0,n)){
		puts("-1");
		return 0;
	}
	rep(i,1,n) puts(ans[i]+1);
	return 0;
}