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>
#define pb push_back
#define mp make_pair
#define int long long
#define inf 998244353
#define LINF 100000000000000007LL
#define ll long long
using namespace std;
char fd[1009][1009];
void fill4(int s){
	string str[4];
	str[0] = "abcc";
	str[1] = "abdd";
	str[2] = "ccab";
	str[3] = "ddab";
	for(int i=0;i<=3;i++){
		for(int j=0;j<=3;j++){
			fd[s+i][s+j]=str[i][j];
		}
	}
}
void fill5(int s){
	string str[5];
	str[0]="abbaa";
	str[1]="ac..b";
	str[2]="bc..b";
	str[3]="b.dda";
	str[4]="aabba";
	for(int i=0;i<=4;i++){
		for(int j=0;j<=4;j++){
			fd[s+i][s+j]=str[i][j];
		}
	}
}
void fill6(int s){
	string str[6];
	str[0]="aa..cd";
	str[1]="bb..cd";
	str[2]="aa..dc";
	str[3]="..bbdc";
	str[4]="..aacd";
	str[5]="..bbcd";
	for(int i=0;i<=5;i++){
		for(int j=0;j<=5;j++){
			fd[s+i][s+j]=str[i][j];
		}
	}
}
signed main(){
	int n;
	cin>>n;
	for(int i=0;i<=1000;i++){
		for(int j=0;j<=1000;j++){
			fd[i][j] = '.';
		}
	}
	if( n == 2 ){ 
		cout<< -1 <<endl;
		return 0;
	}
	else if( n == 3 ){
		fd[0][1] = 'a';
		fd[0][2] = 'a';
		fd[1][0] = 'a';
		fd[2][0] = 'a';
	}
	else if( n == 7 ){
		string str[7];
		str[0] = "ad..d..";
		str[1] = "ad..d..";
		str[2] = "b.ee.ee";
		str[3] = "bd..d..";
		str[4] = "cd..d..";
		str[5] = "c.ee.ee";
		str[6] = ".ccbbaa";
		for(int i=0;i<=6;i++){
			for(int j=0;j<=6;j++){
				fd[i][j]=str[i][j];
			}
		}
	}
	else{
		int n4=0,n5=0,n6=0;
		for(int i=0;i<=250;i++){
			for(int j=0;j<=200;j++){
				int rem = n - 4*i - 5*j;
				if( rem >= 0 && rem%6 == 0 ){
					n4 = i;
					n5 = j;
					n6 = rem/6;
				}
			}
		}
		int cur = 0;
		for(int i=0;i<n4;i++){
			fill4(cur);
			cur += 4;
		}
		for(int i=0;i<n5;i++){
			fill5(cur);
			cur += 5;
		}
		for(int i=0;i<n6;i++){
			fill6(cur);
			cur += 6;
		}
	}
	for(int i=0;i<n;i++){
		for(int j=0;j<n;j++){
			cout<<fd[i][j];
		}
		cout<<endl;
	}
	return 0;
}