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;

int main(){
	ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
	int n;
	cin >> n;
	if(n == 2){
		cout << -1 << '\n';
		return 0;
	}
	vector<string> s(n, string(n, '.'));
	if(n == 3){
		s[0][0] = s[1][0] = 'z';
		s[2][1] = s[2][2] = 'y';
		n -= 3;
	} else if(n == 7){
		s[0][0] = s[0][1] = 'z';
		s[2][1] = s[2][2] = 'y';
		s[2][4] = s[2][5] = 'x';
		s[3][3] = s[3][4] = 'w';
		s[4][3] = s[4][4] = 'v';
		s[5][5] = s[5][6] = 'u';
		s[6][5] = s[6][6] = 't';

		s[1][0] = s[2][0] = 'a';
		s[5][0] = s[6][0] = 'b';
		s[5][1] = s[6][1] = 'c';
		s[0][2] = s[1][2] = 'd';
		s[3][2] = s[4][2] = 'e';
		s[0][3] = s[1][3] = 'f';
		s[3][6] = s[4][6] = 'g';
		n -= 7;
	} else if(n & 1){
		s[0][1] = s[0][2] = 'z';
		s[1][2] = s[1][3] = 'y';
		s[2][0] = s[2][1] = 'x';
		s[4][0] = s[4][1] = 'w';
		s[4][3] = s[4][4] = 'v';

		s[0][0] = s[1][0] = 'a';
		s[3][2] = s[4][2] = 'b';
		s[2][3] = s[3][3] = 'c';
		s[0][4] = s[1][4] = 'd';
		s[2][4] = s[3][4] = 'e';
		n -= 5;
		reverse(s.begin(), s.end());
		for(auto& x : s) reverse(x.begin(), x.end());
	}
	assert(n != 2);
	for(int i = 0; i < n / 2; i++){
		s[2*i][2*i] = s[2*i][2*i+1] = 'z';
		s[2*i+1][2*i] = s[2*i+1][2*i+1] = 'y';
		int j = (i + 1) % (n / 2);
		s[2*j][2*i] = s[2*j+1][2*i] = 'a';
		s[2*j][2*i+1] = s[2*j+1][2*i+1] = 'b';
	}

	for(string z : s){
		cout << z << '\n';
	}
}