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;
#define fr(i,n) for(int i=0;i<(n);++i)
#define Fr(i,n) for(int i=1;i<=(n);++i)
#define ifr(i,n) for(int i=(n)-1;i>=0;--i)
#define iFr(i,n) for(int i=(n);i>0;--i)

int main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    istream& in(cin);
    ostream& out(cout);
    int n;
    scanf("%d",&n);
    if(n==2) return cout<<-1<<endl,0;
    if(n==3) return puts("aa.\n..a\n..a"),0;
    vector<string> q={"aabc","ddbc","bcaa","bcdd"},
            p={"aabbc","cdd.c","c..ba","a..ba","accdd"},
            h={".llkkj","iihh.j","ggfe..","..fedd","c...ba","c...ba"},
            s={".nnmmll","kkjji..","hhggi..","f....ed","f....ed","....cba","....cba"};
    vector<vector<char>> ans(n,vector<char>(n,'.'));
    fr(i,n/4){
        fr(I,4) fr(J,4){
            ans[4*i+I][4*i+J]=q[I][J];
        }
    }
    if(n%4==1) fr(i,5) fr(j,5) ans[n-5+i][n-5+j]=p[i][j];
    if(n%4==2) fr(i,6) fr(j,6) ans[n-6+i][n-6+j]=h[i][j];
    if(n%4==3) fr(i,7) fr(j,7) ans[n-7+i][n-7+j]=s[i][j];
    fr(i,n){
        fr(j,n) printf("%c",ans[i][j]);
        puts("");
    }
}