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 syosu(x) fixed<<setprecision(x)
using namespace std;
typedef long long ll;
typedef unsigned int uint;
typedef unsigned long long ull;
typedef pair<int,int> P;
typedef pair<double,double> pdd;
typedef pair<ll,ll> pll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<double> vd;
typedef vector<vd> vvd;
typedef vector<ll> vl;
typedef vector<vl> vvl;
typedef vector<string> vs;
typedef vector<P> vp;
typedef vector<vp> vvp;
typedef vector<pll> vpll;
typedef pair<int,P> pip;
typedef vector<pip> vip;
const int inf=1<<30;
const ll INF=1ll<<60;
const double pi=acos(-1);
const double eps=1e-8;
const ll mod=1e9+7;
const int dx[4]={-1,0,1,0},dy[4]={0,-1,0,1};

int n;

string s3[3]={
	"aab",
	"c.b",
	"cdd"
};
string s4[4]={
	"aacd",
	"bbcd",
	"efgg",
	"efhh"
};
string s5[5]={
	"aabee",
	"c.bff",
	"cdd.j",
	"gh..j",
	"ghii."
};
string s7[7]={
	"aabee..",
	"c.b..ff",
	"cdd.j..",
	"g..ij..",
	"g..il..",
	".h..lmm",
	".hkk.nn"
};

void f(vi a){
	vs b(n,string(n,'.'));
	int t=0;
	for(auto i:a){
		for(int j=0;j<i;j++) for(int k=0;k<i;k++){
			char c;
			if(i==3) c=s3[j][k];
			if(i==4) c=s4[j][k];
			if(i==5) c=s5[j][k];
			if(i==7) c=s7[j][k];
			b[t+j][t+k]=c;
		}
		t+=i;
	}
	for(int i=0;i<n;i++) cout<<b[i]<<endl;
}

int main(){
	cin>>n;
	if(n==2){
		cout<<-1<<endl;
		return 0;
	}
	if(n%3==0){
		vi a(n/3,3);
		f(a);
		return 0;
	}
	for(int i=0;4*i<=n;i++) for(int j=0;5*j<=n-4*i;j++) if((n-4*i-5*j)%7==0){
		int k=(n-4*i-5*j)/7;
		vi a(i+j+k);
		for(int l=0;l<i;l++) a[l]=4;
		for(int l=0;l<j;l++) a[l+i]=5;
		for(int l=0;l<k;l++) a[l+i+j]=7;
		f(a);
		return 0;
	}
	while(1);
}