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;
vector<string> p3, p4, p5, p6;
vector<string> ans;
void solve(int n){
	int ch = 0, sh = 0;
	for(int v : {4, 5, 6}){
		if(n - v == 0){
			ch = v;
			break;
		}
		if(n - v != 1 && n - v != 2 && n - v != 7){
			ch = v;
			sh = n - v;
			break;
		}
	}
	if(n - ch) solve(n - ch);
	vector<string> c;
	if(ch == 4) c = p4;
	if(ch == 5) c = p5;
	if(ch == 6) c = p6;
	for(int i = 0; i < ch; i++){
		for(int j = 0; j < ch; j++){
			ans[sh + i][sh + j] = c[i][j];
		}
	}
}
int main(){
	ios::sync_with_stdio(false);
	cin.tie(0);
	int n; cin >> n;
	p4.resize(4);
	p4[0] = "aabc";
	p4[1] = "ddbc";
	p4[2] = "bcaa";
	p4[3] = "bcdd";
	p5.resize(5);
	p5[0] = "..abc";
	p5[1] = "..abc";
	p5[2] = "aaddb";
	p5[3] = "bba.b";
	p5[4] = "ccacc";
	p6.resize(6);
	p6[0] = "ddbaa.";
	p6[1] = "a.b..c";
	p6[2] = "acc..c";
	p6[3] = "bb.ddb";
	p6[4] = "..ca.b";
	p6[5] = "..cacc";
	if(n == 2) cout << -1 << endl;
	else {
		if(n == 7){
			ans.resize(n);
			for(int i = 0; i < n; i++) ans[i].resize(n);
			for(int i = 0; i < n; i++) for(int j = 0; j < n; j++) ans[i][j] = '.';
			for(int i = 0; i < n - 1; i += 3){
				for(int j = 0; j < n - 1; j += 3){
					ans[i][j + 2] = 'a';
					ans[i + 1][j + 2] = 'a';
					ans[i + 2][j] = 'b';
					ans[i + 2][j + 1] = 'b';
				}
			}
			for(int i = 0; i < n - 1; i += 2) ans[n - 1][i] = ans[n - 1][i + 1] = 'd' + i;
			for(int i = 0; i < n - 1; i += 2) ans[i][n - 1] = ans[i + 1][n - 1] = 'd' + i;
			for(int i = 0; i < n; i++) cout << ans[i] << endl;
		}
		else if(n == 3){
			cout << "aa.\n..b\n..b\n";
		} else {
			ans.resize(n);
			for(int i = 0; i < n; i++) ans[i].resize(n);
			for(int i = 0; i < n; i++) for(int j = 0; j < n; j++) ans[i][j] = '.';
			solve(n);
			for(int i = 0; i < n; i++) cout << ans[i] << endl;
		}
	}
	return 0;
}