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:
// ※※※ 解答不能 ※※※
// Um_nik氏
// https://atcoder.jp/contests/agc041/submissions/9181788
#include <bits/stdc++.h>
using namespace std;
using LL = long long;
#define repex(i, a, b, c) for(int i = a; i < b; i += c)
#define repx(i, a, b) repex(i, a, b, 1)
#define rep(i, n) repx(i, 0, n)
#define repr(i, a, b) for(int i = a; i >= b; i--)
const int N = 1010;
int n;
char s[N][N];
char a[4][5] = {
    "aabc",
    "ddbc",
    "efgg",
    "efhh"
};
char b[5][6] = {
    "aabbc",
    "dee.c",
    "d..fg",
    "h..fg",
    "hiijj"
};
char c[7][8] = {
    "aabbc..",
    "d...cee",
    "dffgg..",
    "hh...ij",
    "..k..ij",
    "..k..lm",
    "...nnlm"
};

void solve(vector<int> w){
    int p = 0;
    for(int x : w){
        if(x == 4)      rep(i, x) rep(j, x) s[p + i][p + j] = a[i][j];
        else if(x == 5) rep(i, x) rep(j, x) s[p + i][p + j] = b[i][j];
        else if(x == 7) rep(i, x) rep(j, x) s[p + i][p + j] = c[i][j];
        p += x;
    }
}

int main(){
    scanf("%d", &n);
    if(n == 2){
        printf("-1\n");
        return 0;
    }
    rep(i, n) rep(j, n) s[i][j] = '.';
    if(n % 3 == 0){
        repex(i, 0, n, 3) s[i][i] = s[i][i + 1] = s[i + 1][i + 2] = s[i + 2][i + 2] = 'a';
    }else{
        if(n == 7){
            solve({7});
        }else if (n == 11){
            solve({4, 7});
        }else{
            vector<int> w;
            int x = n;
            while(x % 4 != 0){
                w.push_back(5);
                x -= 5;
            }
            if(x < 0) throw;
            while(x > 0){
                w.push_back(4);
                x -= 4;
            }
            solve(w);
        }
    }
    rep(i, n){
        s[i][n] = '\0';
        printf("%s\n", s[i]);
    }
    return 0;
}