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 <iostream>

using namespace std;

const int MAX_N = 1e3 + 5;

char ans [MAX_N][MAX_N];

void puth (int r, int c, char v) {
  ans[r][c] = v;
  ans[r][c + 1] = v;
}

void putv (int r, int c, char v) {
  ans[r][c] = v;
  ans[r + 1][c] = v;
}

void solve_2 (int n) {
  for (int i = 0; i < n; i += 2) {
    puth(i, i, 'a');
    puth(i + 1, i, 'b');
  }

  for (int i = 0; i < n; i += 2) {
    putv(i, (i + 2) % n, 'c');
    putv(i, (i + 3) % n, 'd');
  }
}

void solve_3 (int l, int r) {
  puth(l, l, 'a');
  putv(l, l + 2, 'b');
  putv(l + 1, l, 'c');
  puth(l + 2, l + 1, 'd');
}

void solve_5 () {
  puth(0, 0, 'a');
  puth(0, 2, 'b');
  putv(0, 4, 'c');
  putv(1, 0, 'd');
  puth(1, 1, 'e');
  putv(2, 2, 'f');
  puth(2, 3, 'g');
  puth(4, 0, 'h');
  putv(3, 3, 'i');
  putv(3, 4, 'j');
}

void solve_7 (int l, int r) {
  puth(l, l, 'a');
  putv(l, l + 2, 'b');
  putv(l + 1, l, 'c');
  puth(l + 2, l + 1, 'd');
  puth(l + 6, l, 'e');
  puth(l + 5, l + 2, 'f');
  puth(l + 6, l + 3, 'g');
  puth(l + 6, l + 5, 'h');
  putv(l + 4, l + 4, 'i');
  putv(l + 4, l + 5, 'j');
  puth(l + 3, l + 3, 'k');
  putv(l + 2, l + 5, 'l');
  putv(l, l + 6, 'm');
  putv(l + 3, l + 6, 'n');
}

int main () {
  int n;
  cin >> n;

  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) {
      ans[i][j] = '.';
    }
  }

  if (n == 2) {
    cout << -1 << endl;
    return 0;
  }
  if (n == 5) {
    solve_5();
  } else if (n % 2 == 0) {
    solve_2(n);
  } else if (n % 3 == 0) {
    for (int i = 0; i < n; i += 3) {
      solve_3(i, i + 3);
    }
  } else if (n >= 7) {
    solve_2(n - 7);
    solve_7(n - 7, n);
  } else {
    cout << -1 << endl;
    return 0;
  }

  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) {
      cout << ans[i][j];
    }
    cout << '\n';
  }
}