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;
#define rep(i, n) for(int i = 0; i < n; i++)
#define rep2(i, x, n) for(int i = x; i <= n; i++)
#define rep3(i, x, n) for(int i = x; i >= n; i--)
#define elif else if
typedef long long ll;
typedef pair<ll, ll> P;
const ll MOD = 1e9+7;
const ll MOD2 = 998244353;
const ll INF = 1e18;
string alpha = "abcdefghijklmnopqrstuvwxyz";

int main(){
    int N;
    cin >> N;
    string S[N], five[5], a = ".";
    rep(i, N){
        S[i] = "";
        rep(j, N) S[i] += a;
    }
    if(N == 2){cout << -1 << endl; exit(0);}
    elif(N == 3){
        S[0] = "a..", S[1] = "a..", S[2] = ".bb";
        rep(i, N) cout << S[i] << endl;
        exit(0);
    }
    elif(N == 7){
        S[0] = ".aabbcc", S[1] = "adee...", S[2] = "ad.f...", S[3] = "bggf...",
        S[4] = "b...dee", S[5] = "c...d.f", S[6] = "c...ggf";
        rep(i, N) cout << S[i] << endl;
        exit(0);
    }
    five[0] = "abbcc", five[1] = "ad..b", five[2] = "bd..b", five[3] = "b.dda", five[4] = "ccbba"; 
    int m = N%2, n = (N-5*m)/2;
    rep(i, n){
        S[2*i][2*i] = alpha[0];
        S[2*i][2*i+1] = alpha[0];
        S[2*i+1][2*i] = alpha[1];
        S[2*i+1][2*i+1] = alpha[1];
        int j = (i+1)%n;
        S[2*j][2*i] = alpha[2];
        S[2*j+1][2*i] = alpha[2];
        S[2*j][2*i+1] = alpha[3];
        S[2*j+1][2*i+1] = alpha[3];
    }
    if(m == 1){
        rep(i, 5)rep(j, 5){
            S[2*n+i][2*n+j] = five[i][j];
        }
    }
    rep(i, N) cout << S[i] << endl;
}