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>
using namespace std;
using ll = long long;
using PII = pair<ll, ll>;
#define FOR(i, a, n) for (ll i = (ll)a; i < (ll)n; ++i)
#define REP(i, n) FOR(i, 0, n)
#define ALL(x) x.begin(), x.end()
template<typename T> void chmin(T &a, const T &b) { a = min(a, b); }
template<typename T> void chmax(T &a, const T &b) { a = max(a, b); }
struct FastIO {FastIO() { cin.tie(0); ios::sync_with_stdio(0); }}fastiofastio;
#ifdef DEBUG_ 
#include "../program_contest_library/memo/dump.hpp"
#else
#define dump(...)
#endif
const ll INF = 1LL<<60;

int main(void) {
    ll n;
    cin >> n;

    if(n == 2) {
        cout << -1 << endl;
        return 0;
    }

    if(n == 3) {
        cout << "aa.\n";
        cout << "..a\n";
        cout << "..a\n";
        return 0;
    }

    vector<vector<string>> v(8);
    v[4] = {"aabc", "ddbc", "bcaa", "bcdd"};
    v[5] = {"aabba", "bcc.a", "b..cb", "a..cb", "abbaa"};
    v[6] = {"aabc..", "ddbc..", "..aabc", "..ddbc", "bc..aa", "bc..dd"};
    v[7] = {"aabbcc.", "dd.dd.a", "..d..da", "..d..db", "dd.dd.b", "..d..dc", "..d..dc"};

    ll idx = 0;
    vector<string> ans(n, string(n, '.'));
    REP(i, (n-4)/4) {
        dump(i);
        REP(j, 4) REP(k, 4) {
            ans[idx+j][idx+k] = v[4][k][j];
        }
        idx += 4;
    }
    ll t = (n%4)+4;
    dump(t);
    REP(j, t) REP(k, t) {
        ans[idx+j][idx+k] = v[t][j][k];
    }

    REP(i, n) cout << ans[i] << "\n";
    cout << flush;

    return 0;
}