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;
//const ll MOD = 1e9 + 7;
//const ll MOD = 998244353;
//const ll MOD = ;
ll mod(ll A, ll M) {return (A % M + M) % M;}
const ll INF = 1LL << 60;
template<class T> bool chmin(T& a, T b) {if (a > b) {a = b; return true;} return false;}
template<class T> bool chmax(T& a, T b) {if (a < b) {a = b; return true;} return false;}
ll divceil(ll A, ll B) {return (A + (B - 1)) / B;}
ll myctoi(char C) {return C - '0';}
char myitoc(ll N) {return '0' + N;}
#define FINALANS(A) {cout << (A) << '\n'; exit(0);}

int main()
{
  ll N;
  cin >> N;

  const vector<vector<string>> S =
  {
    {
      "aabc",
      "ddbc",
      "efgg",
      "efhh"
    },
    {
      "abbcc",
      "a.dde",
      "fg..e",
      "fg..h",
      "iijjh"
    },
    {
      "aabbcc",
      "d.e.f.",
      "d.e.f.",
      ".g.h.i",
      ".g.h.i",
      "jjkkll"
    },
    {
      "abcc...",
      "ab..d..",
      "ee..dff",
      "..ghh.i",
      "..g.jji",
      "kl...mm",
      "klnn..."
    }
  };

  if (N == 2)
    cout << -1 << endl;
  else if (N == 3)
  {
    cout << "aa." << endl;
    cout << "..b" << endl;
    cout << "..b" << endl;
  }
  else
  {
    vector<string> ans(N, string(N, '.'));
    for (ll i = 0; i < N - 7; i += 4)
    {
      for (ll j = 0; j < 4; j++)
      {
        for (ll k = 0; k < 4; k++)
        {
          ans.at(i + j).at(i + k) = S.at(0).at(j).at(k);
        }
      }
    }
    for (ll i = N - (4 + N % 4); i < N; i++)
    {
      for (ll j = N - (4 + N % 4); j < N; j++)
      {
        ans.at(i).at(j) = S.at(N % 4).at(i - (N - (4 + N % 4))).at(j - (N - (4 + N % 4)));
      }
    }

    for (ll i = 0; i < N; i++)
    {
      cout << ans.at(i) << endl;
    }
  }
}