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;

int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  vector<string> s(n, string(n, '.'));
  auto f3 = [&](int i, int j) {
    s[i][j] = s[i][j + 1] = 'a';
    s[i + 1][j + 2] = s[i + 2][j + 2] = 'b';
  };
  auto f4 = [&](int i) {
    s[i + 0] = s[i + 0].substr(0, i) + "aacd" + s[i + 0].substr(i + 4);
    s[i + 1] = s[i + 1].substr(0, i) + "bbcd" + s[i + 1].substr(i + 4);
    s[i + 2] = s[i + 2].substr(0, i) + "cdaa" + s[i + 2].substr(i + 4);
    s[i + 3] = s[i + 3].substr(0, i) + "cdbb" + s[i + 3].substr(i + 4);
  };
  if (n == 3) {
    f3(0, 0);
  } else if (n % 4 == 0) {
    for (int i = 0; i < n; i += 4) {
      f4(i);
    }
  } else if (n >= 6 and n % 4 == 2) {
    f4(0);
    s[2] = s[2].substr(0, 2) + "..aa" + s[2].substr(6);
    s[3] = s[3].substr(0, 2) + "..bb" + s[3].substr(6);
    s[4] = s[4].substr(0, 2) + "aacd" + s[4].substr(6);
    s[5] = s[5].substr(0, 2) + "bbcd" + s[5].substr(6);
    for (int i = 6; i < n; i += 4) {
      f4(i);
    }
  } else if (n % 4 == 1) {
    s[0] = "cde.." + string(n - 5, '.');
    s[1] = "cde.." + string(n - 5, '.');
    s[2] = "aabcc" + string(n - 5, '.');
    s[3] = "b.bdd" + string(n - 5, '.');
    s[4] = "baaee" + string(n - 5, '.');
    for (int i = 5; i < n; i += 4) {
      f4(i);
    }
  } else if (n % 4 == 3) {
    s[0] = ".cde..." + string(n - 7, '.');
    s[1] = ".cde..." + string(n - 7, '.');
    s[2] = "abbaa.." + string(n - 7, '.');
    s[3] = "a...bcc" + string(n - 7, '.');
    s[4] = "b...bdd" + string(n - 7, '.');
    s[5] = "b...aee" + string(n - 7, '.');
    s[6] = "aabba.." + string(n - 7, '.');
    for (int i = 7; i < n; i += 4) {
      f4(i);
    }
  } else {
    cout << -1 << '\n';
    return 0;
  }
  for (auto e : s) {
    cout << e << '\n';
  }
}