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;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)


int main()
{
ll n ;
cin >> n ;
if(n==2){
  cout << -1 << endl;
  return 0;
}
if(n==3){
  cout << "aa." << endl;
  cout << "..a" << endl;
  cout << "..a" << endl;
  return 0;
}
vector<vector<ll>> v(n, vector<ll>(n,0) );
ll b=0;
ll c;
while(1){
  c=n-b*4;
  if(c>=4&&c<=7)break;
  v[b*4][b*4]=1;
  v[b*4][b*4+1]=1;
  v[b*4+1][b*4]=2;
  v[b*4+1][b*4+1]=2;
  v[b*4+2][b*4]=3;
  v[b*4+3][b*4]=3;
  v[b*4+2][b*4+1]=4;
  v[b*4+3][b*4+1]=4;
  v[b*4][b*4+2]=5;
  v[b*4+1][b*4+2]=5;
  v[b*4][b*4+3]=8;
  v[b*4+1][b*4+3]=8;
  v[b*4+2][b*4+2]=6;
  v[b*4+2][b*4+3]=6;
  v[b*4+3][b*4+2]=7;
  v[b*4+3][b*4+3]=7;
  b+=1;
}
rep(i,4*b){
  rep(j,n){
    if(v[i][j]==0)cout << '.' ;
    else cout << char('a'+v[i][j]) ;
  }
cout << endl ;
}
string k[4][7]={{"aabc","ddbc","bcaa","bcdd"},{"aabba","bcc.a","b..cb","a..cb","abbaa"},{"aabc..","ddbc..","..aabc","..ddbc","bc..aa","bc..dd"},{"aabbcc.","dd.dd.a","..d..da","..d..db","dd.dd.b","..d..dc","..d..dc"}};
rep(i,c){
  rep(j,4*b)cout << '.' ;
  cout << k[c-4][i] << endl;
  
}
return 0;
}