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 mp make_pair
#define endl '\n'
using ll=long long;
 
const int INF=1e9+5;
const ll lim=(ll)3e16;
const int N=510000;
const int mod=1e9+7;
const ll oo=1e18+5;



int main(){
	ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(0);
	int n;
	cin>>n;
	if(n<3) return cout<<-1,0;
	if(n==3){
		cout<<"aa.\n..a\n..a"<<endl;
		return 0;
	}
	vector<string> matrixx[8];
	// 4
	matrixx[4].push_back("aabc");
	matrixx[4].push_back("ddbc");
	matrixx[4].push_back("bcaa");
	matrixx[4].push_back("bcdd");
	// 5
	matrixx[5].push_back("aabba");
	matrixx[5].push_back("bcc.a");
	matrixx[5].push_back("b..cb ");
	matrixx[5].push_back("a..cb");
	matrixx[5].push_back("abbaa");
	// 6
	matrixx[6].push_back("aabc..");
	matrixx[6].push_back("ddbc..");
	matrixx[6].push_back("..aabc");
	matrixx[6].push_back("..ddbc");
	matrixx[6].push_back("bc..aa");
	matrixx[6].push_back("bc..dd");
	//7
	matrixx[7].push_back("aabbcc.");
	matrixx[7].push_back("dd.dd.a");
	matrixx[7].push_back("..d..da");
	matrixx[7].push_back("..d..db");
	matrixx[7].push_back("dd.dd.b");
	matrixx[7].push_back("..d..dc");
	matrixx[7].push_back("..d..dc");
	
	int rem=n%4;
	int k=n/4;
	if(rem) --k;
	int times=-1;
	//~ int loopp=0;
	for(int i=0;i<k*4;++i)
	{
		if(i%4==0) ++times;
		for(int j=0;j<times*4;++j) cout<<".";
		cout<<matrixx[4][i%4];
		for(int j=times*4+4;j<n;++j) cout<<".";
		cout<<endl;
	}
	++times;
	if(rem){
		for(int i=0;i<4+rem;++i){
			for(int j=0;j<times*4;++j) cout<<".";
			cout<<matrixx[rem+4][i%(rem+4)];
			cout<<endl;
		}
	}
	return 0;
}