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>
const int N = 1e3+5;
const char S4[4][4] = {{'a','b','c','c'}, {'a','b','d','d'}, {'e','e','f','g'}, {'h','h','f','g'}};
const char S5[5][5] = {{'.','.','a','b','c'}, {'.','.','a','b','c'}, {'d','d','e','f','f'}, {'g','g','e','.','h'}, {'i','i','j','j','h'}};
const char S6[6][6] = {{'.','.','.','a','b','c'}, {'.','.','.','a','b','c'}, {'d','.','e','e','.','f'}, {'d','g','g','.','.','f'}, {'h','h','i','.','j','j'}, {'k','k','i','l','l','.'}};
const char S7[7][7] = {{'.','.','.','.','a','b','c'}, {'.','.','.','.','a','b','c'}, {'.','.','.','.','d','e','f'}, {'.','.','.','.','d','e','f'}, {'g','g','h','h','.','.','i'}, {'j','j','k','k','.','.','i'}, {'l','l','m','m','n','n','.'}};
int n, m, c[N*N]; char s[N][N];
void sol(int &n, int x)
{
    for(int i = 0; i < x; ++i) for(int j = 0; j < x; ++j)
        if(x == 4) s[n+i][n+j] = S4[i][j];
        else if(x == 5) s[n+i][n+j] = S5[i][j];
        else if(x == 6) s[n+i][n+j] = S6[i][j];
        else s[n+i][n+j] = S7[i][j];
    n += x;
}
int main()
{
    scanf("%d", &n); if(n <= 2) return puts("-1"), 0;
    if(n == 3) return puts("a..\na..\n.aa"), 0;
    for(int i = 0; i < n; ++i) for(int j = 0; j < n; ++j) s[i][j] = '.';
    sol(m, 4+(n&3)); while(m+4 <= n) sol(m, 4);
    for(int i = 0; i < n; ++i) puts(s[i]);
    return 0;
}