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>

using namespace std;

int main() {
	int n; cin >> n;
	string a[10][10];
	if (n == 2) cout << -1;
 	else {
        a[3][1] = "aa.";
        a[3][2] = "..a";
        a[3][3] = "..a";
      
        a[4][1] = "aacd";
        a[4][2] = "bbcd";
        a[4][3] = "dcaa";
        a[4][4] = "dcbb";
      
        a[5][1] = "aabbc";
        a[5][2] = "bcc.c";
        a[5][3] = "b..ab";
        a[5][4] = "a..ab";
        a[5][5] = "abbcc";

        a[6][1] = "aacd..";
        a[6][2] = "bbcd..";
        a[6][3] = "..aacd";
        a[6][4] = "..bbcd";
        a[6][5] = "ab..aa";
        a[6][6] = "ab..bb";

        a[7][1]= "aabbcc.";
        a[7][2] = "bb.aa.c";
        a[7][3] = "..a..bc";
        a[7][4] = "..a..ba";
        a[7][5] = "aa.aa.a";
        a[7][6] = "..a..ab";
        a[7][7] = "..a..ab";
      
      	for (int i = 0, m; n; n -= m, i += m) {
          	if (n > 7) m = 4; else m = n;
            for (int k = 1; k <= m; ++k) {
				for (int j = 1; j <= i; ++j)
                	cout << '.';
                cout << a[m][k];
                for (int j = 1; j <= n - m; ++j)
                	cout << '.';
              	cout << endl;
            }
        }
    }
}