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:
def comb(n, k, L):
    X = [[0] * n for _ in range(n)]
    for A, a, b in L:
        for i in range(len(A)):
            for j in range(len(A)):
                X[i+a][j+b] = A[i][j] + k if A[i][j] else 0
    return X
def ans(A):
    for a in A:
        print("".join([chr(b+97) if b else "." for b in a]))
a3 = [[1, 0, 0], [1, 0, 0], [0, 2, 2]]
a4 = [[1, 2, 3, 3], [1, 2, 4, 4], [5, 5, 6, 7], [8, 8, 6, 7]]
a5 = [[1, 1, 2, 2, 3], [4, 0, 5, 5, 3], [4, 7, 0, 0, 8], [9, 7, 0, 0, 8], [9, 5, 5, 6, 6]]
a6 = [[1, 0, 0, 1, 0, 0], [1, 0, 0, 1, 0, 0], [0, 2, 2, 0, 2, 2], [1, 0, 0, 1, 0, 0], [1, 0, 0, 1, 0, 0], [0, 2, 2, 0, 2, 2]]
a7 = [[1, 0, 0, 1, 0, 0, 3], [1, 0, 0, 1, 0, 0, 3], [0, 2, 2, 0, 2, 2, 4], [1, 0, 0, 1, 0, 0, 4], [1, 0, 0, 1, 0, 0, 5], [0, 2, 2, 0, 2, 2, 5], [6, 6, 7, 7, 8, 8, 0]]

N = int(input())
if N <= 2:
    print(-1)
    exit()
if N <= 7:
    X = [a3, a4, a5, a6, a7][N-3]
elif N == 11:
    X = comb(11, 0, [[a4, 0, 0], [a7, 4, 4]])
elif N == 14:
    X = comb(14, 0, [[a7, 0, 0], [a7, 7, 7]])
else:
    b = N % 4
    a = (N - b * 5) // 4
    L = []
    i = 0
    for _ in range(a):
        L.append([a4, i, i])
        i += 4
    for _ in range(b):
        L.append([a5, i, i])
        i += 5
    X = comb(N, 0, L)

ans(X)