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 <stdio.h>
typedef long long ll;

int main(void) {
  ll i, j, k, n, m;
  scanf("%lld", &n);
  if(n == 2) {
    printf("-1");
    return 0;
  }
  char s[n][n + 10];
  char t4[4][5] = {"aacd", "bbcd", "cdaa", "cdbb"}, t3[3][4] = {"abb", "a.c", "ddc"};
  char t5[5][6] = {"wxyy.", "wx..z", "abb.z", "a.cxx", "ddcyy"};
  for(i = 0; i < n; ++i) {
    for(j = 0; j < n; ++j) s[i][j] = '.';
    s[i][n] = 0;
  }
  if(n == 3) {
    for(i = 0; i < n; ++i) for(j = 0; j < n; ++j) s[i][j] = t3[i][j];
  } else if(n == 6) {
    for(i = 0; i < n; ++i) for(j = 0; j < n; ++j) if(i / 3 == j / 3) s[i][j] = t3[i % 3][j % 3];
  } else if(n == 7) {
    for(i = 0; i < 6; ++i) for(j = 0; j < 6; ++j) if(i / 3 == j / 3) s[i][j] = t3[i % 3][j % 3];
    for(i = 0; i < 6; i += 2) s[6][i] = s[6][i + 1] = s[i][6] = s[i + 1][6] = 'p' + i;
  } else if(n == 11) {
    for(i = 0; i < 9; ++i) for(j = 0; j < 9; ++j) if(i / 3 == j / 3) s[i + 2][j + 2] = t3[i % 3][j % 3];
    for(i = 1; i < 11; i += 2) {
      m = (i & 2) >> 1;
      s[m][i] = s[m][i + 1] = s[i][m] = s[i + 1][m] = 'z';
    }
  } else {
    m = n & 3;
    m *= 5;
    k = n - m;
    for(i = 0; i < m; ++i) for(j = 0; j < m; ++j) if(i / 5 == j / 5) s[i][j] = t5[i % 5][j % 5]; 
    for(i = 0; i < k; ++i) for(j = 0; j < k; ++j) if(i / 4 == j / 4) s[i + m][j + m] = t4[i & 3][j & 3];
  }
  for(i = 0; i < n; ++i) printf("%s\n", s[i]);
  return 0;
}