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 fi first
#define se second
#define pb push_back
#define mp make_pair
#define SZ(x) ((int)x.size())
#define ALL(x) x.begin(),x.end()
#define L(i,u) for (register int i=head[u]; i; i=nxt[i])
#define rep(i,a,b) for (register int i=(a); i<=(b); i++)
#define per(i,a,b) for (register int i=(a); i>=(b); i--)
using namespace std;
typedef long double ld;
typedef long long ll;
typedef unsigned int ui;
typedef pair<int,int> Pii;
typedef vector<int> Vi;
template<class T> inline void read(T &x){
	x=0; char c=getchar(); int f=1;
	while (!isdigit(c)) {if (c=='-') f=-1; c=getchar();}
	while (isdigit(c)) {x=x*10+c-'0'; c=getchar();} x*=f;
}
template<class T> T gcd(T a, T b){return !b?a:gcd(b,a%b);}
template<class T> inline void umin(T &x, T y){x=x<y?x:y;}
template<class T> inline void umax(T &x, T y){x=x>y?x:y;}
inline ui R() {
	static ui seed=416;
	return seed^=seed>>5,seed^=seed<<17,seed^=seed>>13;
}
const int N = 2666;
char s[N][N];int n;
void heng(int x, int y){
	s[x][y]=s[x][y+1]='a'+(x&1);
}
void shu(int x, int y){
	s[x][y]=s[x+1][y]='c'+(y&1);
}
int main() {
	read(n);rep(i,1,n)rep(j,1,n)s[i][j]='.';
	if(n<3){puts("-1");return 0;}
	if(n==3){
		puts("aa.");
		puts("..b");
		puts("..b");
		return 0;
	}
	if(n%2==0){
		for(int i=1;i<=n;i+=2){
			s[i][i]=s[i][i+1]='a';
			s[i+1][i]=s[i+1][i+1]='b';
			int x=i+2;if(x>n)x-=n;
			s[i][x]=s[i+1][x]='c';
			s[i][x+1]=s[i+1][x+1]='d';
		}
		rep(i,1,n){rep(j,1,n)printf("%c",s[i][j]);puts("");}
		return 0;
	}
	if(n&1){
		heng(1,1);heng(n,1);heng(n,3);heng(n-1,2);shu(n-2,1);shu(n-1,n);shu(1,n);
		per(i,n-1,3)shu(n-i,i);
		rep(i,3,n-2)heng(i,n+2-i);
		s[n][1]=s[n][2]='z';
		rep(i,1,n){rep(j,1,n)printf("%c",s[i][j]);puts("");}
		return 0;
	}
	return 0;
}