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 PYTHON3):

Solution:
N = int(input())

if N == 2:
    print(-1)
    exit()
elif N == 3:
    print('a..')
    print('a..')
    print('.aa')
    exit()

ans = [['.'] * N for _ in range(N)]
u = [['a', 'a'], ['b', 'b']]
v = [['c', 'd'], ['c', 'd']]
if N % 4 == 0:
    for i in range(0, N, 2):
        for h in range(2):
            for w in range(2):
                ans[i+h][i+w] = u[h][w]
        for h in range(2):
            for w in range(2):
                ans[i+h][N-i-w-1] = v[h][w]
elif N % 4 == 1:
    for i in range(0, N//2 - 2, 2):
        for h in range(2):
            for w in range(2):
                ans[i+h][i+w] = u[h][w]
        for h in range(2):
            for w in range(2):
                ans[i+h][N-i-w-1] = v[h][w]
    for i in range(N//2 + 3, N, 2):
        for h in range(2):
            for w in range(2):
                ans[i+h][i+w] = u[h][w]
        for h in range(2):
            for w in range(2):
                ans[i+h][N-i-w-1] = v[h][w]
    a = [['c', 'c', 'd', 'd', 'e'], ['f', 'g', '.', '.', 'e'], ['f', 'g', '.', '.', 'h'],
         ['i', '.', 'k', 'k', 'h'], ['i', 'j', 'j', 'l', 'l']]
    i0 = N//2 - 2
    for h in range(5):
        for w in range(5):
            ans[i0 + h][i0 + w] = a[h][w]
elif N % 4 == 2:
    for i in range(0, N//2 - 3, 2):
        for h in range(2):
            for w in range(2):
                ans[i+h][i+w] = u[h][w]
        for h in range(2):
            for w in range(2):
                ans[i+h][N-i-w-1] = v[h][w]
    for i in range(N//2 + 3, N, 2):
        for h in range(2):
            for w in range(2):
                ans[i+h][i+w] = u[h][w]
        for h in range(2):
            for w in range(2):
                ans[i+h][N-i-w-1] = v[h][w]
    a = [['c', '.', 'd', 'd', 'e', 'e'], ['c', 'f', '.', 'g', 'g', '.'], ['h', 'f', '.', '.', '.', 'i'],
         ['h', '.', '.', '.', 'k', 'i'], ['.', 'j', 'j', '.', 'k', 'n'], ['l', 'l', 'm', 'm', '.', 'n']]
    i0 = N//2 - 3
    for h in range(6):
        for w in range(6):
            ans[i0 + h][i0 + w] = a[h][w]
elif N % 4 == 3:
    for i in range(0, N//2 - 3, 2):
        for h in range(2):
            for w in range(2):
                ans[i+h][i+w] = u[h][w]
        for h in range(2):
            for w in range(2):
                ans[i+h][N-i-w-1] = v[h][w]
    for i in range(N//2 + 4, N, 2):
        for h in range(2):
            for w in range(2):
                ans[i+h][i+w] = u[h][w]
        for h in range(2):
            for w in range(2):
                ans[i+h][N-i-w-1] = v[h][w]

    a = [['c', '.', '.', 'd', 'd', 'e', 'e'], ['c', 'f', '.', '.', 'g', 'g', '.'], ['h', 'f', 'i', '.', '.', '.', '.'],
         ['h', '.', 'i', '.', '.', '.', 'k'], ['.', '.', '.', 'j', 'j', 'm', 'k'], ['.', 'l', 'l', '.', '.', 'm', 'p'],
         ['n', 'n', 'o', 'o', '.', '.', 'p']]
    i0 = N//2 - 3
    for h in range(7):
        for w in range(7):
            ans[i0 + h][i0 + w] = a[h][w]

[print(''.join(ans[i])) for i in range(N)]