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>

#define all(x) x.begin(), x.end()
#define int long long
#define ll long long
#define ins insert
#define pb push_back
#define ppb pop_back
#define pf push_front
#define ppf pop_front
#define ff first
#define ss second
#define ld long double
#define rsz resize
#define pii pair<int, int>

using namespace std;

mt19937 rnd(time(nullptr));

const long long INF = 1e18;
vector<vector<string> > kek = {{}, {}, {}, {"aa.", "..a", "..a"}, {"aacd", "bbcd", "cdaa", "cdbb"}, {"aabbc", "dcc.c", "d..bd", "c..bd", "cbbaa"}, {"abcc..", "ab..dd", "bacc..", "ba..dd", "cdaa..", "cd..bb"}, {".aabb.c", "..cc.ac", "dd...ad", "b....bd", "b....bc", "a...aac", "addcc.."}};

int32_t main() {
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    //freopen("input.txt", "r", stdin);
    //freopen("output.txt", "w", stdout);
    int n;
    cin >> n;
    char a[n][n];

    for (int i = 0; i < n; i++) {
        for (int j = 0; j < n; j++) {
            a[i][j] = '.';
        }
    }
    if (n == 2) {
        cout << -1;
        return 0;
    }
    if (n == 3) {
        for (auto elem : kek[3]) {
            cout << elem  << "\n";
        }
        return 0;
    }
    int x = (n / 4) - 1, y = n - x * 4;
    for (int q = 0; q < x; q++) {
        for (int i = 4 * q; i < 4 + 4 * q; i++) {
            for (int j = 4 * q; j < 4 * (q + 1); j++) {
                a[i][j] = kek[4][i - 4 * q][j - q * 4];
            }
        }
    }
    for (int i = x * 4; i < n; i++) {
        for (int j = x * 4; j < n; j++) {
            a[i][j] = kek[y][i - x * 4][j - x * 4];
        }
    }
    for (int i = 0; i < n; i++) {
        for (int j = 0; j < n; j++) {
            cout << a[i][j];
        }
        cout << "\n";
    }
    return 0;
}