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> // cin, cout, cerr
#include <algorithm> // minmax, sort, swap
#include <numeric> // iota
#include <cstdio> // printf, scanf
#include <string> // string, stoi, to_string
#include <vector> // vector
#include <queue> // queue, priority_queue
#include <deque> // deque
#include <map> // key-value pairs sorted by keys
#include <set> // set
#include <iomanip> // cout<<setprecision(n)
#include <functional> // function<void(int)>
#include <cmath>

#ifdef DEBUG
#include "debug.hpp"
#else
#define debug(...)
#endif

#define int long long // at least int64 > 9*10^18
#define ENDL '\n'
#define rep(i,n) for(int i = 0; i < (n); i++)
#define print(i) std::cout << (i) << '\n'
#define all(v) (v).begin(), (v).end()
/* libraries */

signed main() {
	int n;
	std::cin >> n;
	if(n%3==0) {
		std::vector<std::string> base = {
			"a..",
			"a..",
			".aa"
		};
		rep(i,n) {
			rep(j,n) {
				std::cout << base[i%3][j%3];
			} std::cout << ENDL;
		}
		return 0;
	}
	if(n==2) {
		print(-1);
		return 0;
	}
	std::vector<std::string> base4 = {
		"abcc",
		"abdd",
		"ccab",
		"ddab"
	};
	std::vector<std::string> base5 = {
		"ahhgg",
		"af..f",
		"bf..f",
		"b.aae",
		"ccdde"
	};
	std::vector<std::string> base6 = {
		"adde..",
		"a.ce..",
		"bbc.ee",
		"ee.add",
		"..ea.c",
		"..ebbc"
	};
	std::vector<std::string> base7 = {
		".aabbcc",
		"add.dd.",
		"a..d..d",
		"b..d..d",
		"bdd.dd.",
		"c..d..d",
		"c..d..d"
	};
	int x = n/4-1;
	int sx=-1,sy=-1;
	if(x==0) sx=0,sy=0;
	rep(i,n) {
		rep(j,n) {
			if(j>=(i/4)*4 && j<(i/4+1)*4 && x>0) {
				std::cout << base4[i%4][j%4];
				if(i%4==3 && j%4==3) x--;
				if(x==0) sx=i+1,sy=j+1;
			} else if(x==0 && j>=sy && i>=sx) {
				if(n%4==0) std::cout << base4[i-sx][j-sy];
				if(n%4==1) std::cout << base5[i-sx][j-sy];
				if(n%4==2) std::cout << base6[i-sx][j-sy];
				if(n%4==3) std::cout << base7[i-sx][j-sy];
			} else std::cout << '.';
		} std::cout << ENDL;
	}

	return 0;
}