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;
typedef long long ll;
const int INF = (1<<30);
const ll INFLL = (1ll<<60);
const ll MOD = (ll)(1e9+7);

#define l_ength size

void mul_mod(ll& a, ll b){
	a *= b;
	a %= MOD;
}

void add_mod(ll& a, ll b){
	a = (a<MOD)?a:(a-MOD);
	b = (b<MOD)?b:(b-MOD);
	a += b;
	a = (a<MOD)?a:(a-MOD);
}

char four[4][5]={"aacd","bbcd","cdaa","cdbb"},five[5][6]={"aabba","bcc.a","b..cb","a..cb","abbaa"},six[6][7]={"aabee.","d.b..e","dcc..e","ee.aab","..ed.b","..edcc"},seven[7][8]={".eeffgg","eaab...","ed.b...","fdcc...","f...aab","g...d.b","g...dcc"};
char ans[1010][1010];

int main(void){
	int n,i,j,k;
	fill(ans[0],ans[1010],'.');
	cin >> n;
	if(n==2){
		cout << "-1" << endl;
		return 0;
	}else if(n==3){
		for(i=0; i<3; ++i){
			for(j=0; j<3; ++j){
				cout << six[i][j];
			}
			cout << endl;
		}
		return 0;
	}
	for(k=0; k<n; k+=4){
		switch(n-k){
			case 7:
			for(i=0; i<7; ++i){
				for(j=0; j<7; ++j){
					ans[k+i][k+j] = seven[i][j];
				}
			}
			k += 7;
			break;
			case 6:
			for(i=0; i<6; ++i){
				for(j=0; j<6; ++j){
					ans[k+i][k+j] = six[i][j];
				}
			}
			k += 6;
			break;
			case 5:
			for(i=0; i<5; ++i){
				for(j=0; j<5; ++j){
					ans[k+i][k+j] = five[i][j];
				}
			}
			k += 5;
			break;
			default:
			for(i=0; i<4; ++i){
				for(j=0; j<4; ++j){
					ans[k+i][k+j] = four[i][j];
				}
			}
			break;
		}
	}
	for(i=0; i<n; ++i){
		for(j=0; j<n; ++j){
			cout << ans[i][j];
		}
		cout << endl;
	}
	return 0;
}