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:
import sys
input = sys.stdin.readline

N=int(input())
if N==2:
    print(-1)
    sys.exit()

if N==7:
    S=['.hhagg.\n', 'g..a..h\n', 'g.ee..h\n', 'bb..fcc\n', 'gg..f.h\n', '..hd..h\n', '..hdgg.\n']
    print("".join(S))
    sys.exit()

if N==11:
    S=['......abc..\n', '......abc..\n', '.....igg.dd\n', '.....i..hee\n', '....jj..hff\n', '..ll..kmm..\n', 'ff..h.k....\n', 'ee..hn.....\n', 'ddgg.n.....\n', '..abc......\n', '..abc......\n']
    print("".join(S))
    sys.exit()   

ANS=[["."]*N for i in range(N)]

if N%3==0:
    for i in range(0,N,3):
        ANS[i][i]="a"
        ANS[i][i+1]="a"
        ANS[i+1][i+2]="a"
        ANS[i+2][i+2]="a"
else:
    now=0
    while (N-now)%4!=0:

        i=now
        now+=5

        ANS[i][i]="a"
        ANS[i][i+1]="a"
        ANS[i][i+2]="b"
        ANS[i][i+3]="b"
        ANS[i][i+4]="c"
        ANS[i+1][i+4]="c"
        ANS[i+2][i+4]="d"
        ANS[i+3][i+4]="d"
        ANS[i+4][i+4]="e"
        ANS[i+4][i+3]="e"
        ANS[i+4][i+2]="f"
        ANS[i+4][i+1]="f"
        ANS[i+4][i]="g"
        ANS[i+3][i]="g"
        ANS[i+2][i]="h"
        ANS[i+1][i]="h"

        ANS[i+1][i+1]="i"
        ANS[i+1][i+2]="i"
        ANS[i+2][i+3]="j"
        ANS[i+3][i+3]="j"

    for i in range(now,N,4):
        ANS[i][i]="a"
        ANS[i][i+1]="a"
        ANS[i+1][i]="b"
        ANS[i+1][i+1]="b"

        ANS[i][i+2]="c"
        ANS[i+1][i+2]="c"
        ANS[i][i+3]="d"
        ANS[i+1][i+3]="d"

        ANS[i+2][i+2]="e"
        ANS[i+2][i+3]="e"
        ANS[i+3][i+2]="f"
        ANS[i+3][i+3]="f"

        ANS[i+2][i]="g"
        ANS[i+3][i]="g"
        ANS[i+2][i+1]="h"
        ANS[i+3][i+1]="h"
            
for ans in ANS:
    print("".join(ans))