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 Int = long long;
template<typename T1,typename T2> inline void chmin(T1 &a,T2 b){if(a>b) a=b;}
template<typename T1,typename T2> inline void chmax(T1 &a,T2 b){if(a<b) a=b;}


struct FastIO{
  FastIO(){
    cin.tie(0);
    ios::sync_with_stdio(0);
  }
}fastio_beet;


template<typename T> void drop(const T &x){cout<<x<<endl;exit(0);}

//INSERT ABOVE HERE
signed main(){
  int n;
  cin>>n;
  if(n==2) drop(-1);

  vector<string> st(n,string(n,'.'));
  vector<string> b3(3),b4(4),b5(5),b7(7);

  b3[0]="aab";
  b3[1]="d.b";
  b3[2]="dcc";

  b4[0]="aacd";
  b4[1]="bbcd";
  b4[2]="dcaa";
  b4[3]="dcbb";

  b5[0]="aa.cd";
  b5[1]=".bbcd";
  b5[2]="ffggh";
  b5[3]="e.j.h";
  b5[4]="e.jii";

  b7[0]="aa...ji";
  b7[1]=".bb..ji";
  b7[2]="mncc...";
  b7[3]="mn.dd..";
  b7[4]="..lleef";
  b7[5]="k...h.f";
  b7[6]="k...hgg";

  if(n==7){
    st=b7;
  }else if(n==11){
    int s=0;
    for(int i=0;i<4;i++)
      for(int j=0;j<4;j++)
        st[s+i][s+j]=b4[i][j];
    s+=4;
    for(int i=0;i<7;i++)
      for(int j=0;j<7;j++)
        st[s+i][s+j]=b7[i][j];
    s+=7;
  }else if(n%3==0){
    for(int s=0;s<n;s+=3)
      for(int i=0;i<3;i++)
        for(int j=0;j<3;j++)
          st[s+i][s+j]=b3[i][j];
  }else if(n%4==0){
    for(int s=0;s<n;s+=4)
      for(int i=0;i<4;i++)
        for(int j=0;j<4;j++)
          st[s+i][s+j]=b4[i][j];
  }else if(n%5==0){
    for(int s=0;s<n;s+=5)
      for(int i=0;i<5;i++)
        for(int j=0;j<5;j++)
          st[s+i][s+j]=b5[i][j];
  }else{
    int s=0;
    while((n-s)%5){
      for(int i=0;i<4;i++)
        for(int j=0;j<4;j++)
          st[s+i][s+j]=b4[i][j];
      s+=4;
    }
    while(s<n){
      for(int i=0;i<5;i++)
        for(int j=0;j<5;j++)
          st[s+i][s+j]=b5[i][j];
      s+=5;
    }
  }
  for(int i=0;i<n;i++) cout<<st[i]<<endl;
  return 0;
}