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 <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <map>
#include <cmath>
#include <queue>
#include <deque>
#include <set>
#include <iomanip>
#include <utility>
#define ll long long
#define ld long double
using namespace std;

int ans[1010][1010];
int key3[3][3]={{10, 11, 11}, {10, 0, 10}, {11, 11, 10}};
int key4[4][4]={{1, 1, 2, 3}, {4, 4, 2, 3}, {2, 3, 1, 1}, {2, 3, 4, 4}};
int key5[5][5]={{1, 2, 2, 3, 3}, {1, 4, 0, 0, 4}, {2, 4, 0, 0, 4}, {2, 0, 3, 3, 1}, {4, 4, 2, 2, 1}};

int main() {
	int N;
	cin >> N;
	if(N==2){
		cout << -1 << endl;
		return 0;
	}
	if(N==3){
		for(int i=0; i<3; ++i){
			for(int j=0; j<3; ++j) ans[i][j]=key3[i][j];
		}
	}else{
		if(N%4==1){
			for(int i=0; i<5; ++i){
				for(int j=0; j<5; ++j) ans[i][j]=key5[i][j];
			}
		}else if(N%4==2){
			for(int i=0; i<3; ++i){
				for(int j=0; j<3; ++j){
					ans[i][j]=ans[i+3][j+3]=key3[i][j];
					ans[i+3][j]=ans[i][j+3]=((i==0)^(j==2) ? 2 : 0);
				}
			}
		}else if(N%4==3){
			for(int i=1; i<7; ++i) ans[0][i]=ans[i][0]=(i+1)/2;
			for(int i=0; i<3; ++i){
				for(int j=0; j<3; ++j) ans[i+1][j+1]=ans[i+4][j+4]=key3[i][j];
			}
		}
		for(int i=(N%4==0 ? 0 : 4+N%4); i<N; i += 4){
			for(int j=0; j<4; ++j){
				for(int k=0; k<4; ++k) ans[i+j][i+k]=key4[j][k];
			}
		}
	}
	for(int i=0; i<N; ++i){
		for(int j=0; j<N; ++j){
			if(ans[i][j]==0) cout << '.';
			else{
				char ch='a'+ans[i][j]-1;
				cout << ch;
			}
		}
		cout << endl;
	}
	return 0;
}