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 r(i,n) for(int i=0;i<n;i++)
#define int long long
using namespace std;
typedef pair<int,int>P;
#define F first
#define S second

string s1[3]={".aa","b..","b.."};
string s2[4]={"aacd","bbcd","cdaa","cdbb"};
string s3[5]={".bcdd","fbc..","f.mnn","ppm.t","uuwwt"};
string s4[6]={"bbddff","hhjjl.","...qls","...qxs","z...xc","zdd..c"};
string s7[7]={".xxyyzz","xbbdd..","xh....m","yh....m","y....xy","z....xy","z.aabb."};

signed main(){

	int n;
	cin>>n;
	if(n==2 || n==7){
		if(n==7){
			r(i,n)cout<<s7[i]<<endl;
		}
		else cout<<-1<<endl;
		return 0;
	}
	string s[n];
	string t="";
	r(i,n)t+=".";
	r(i,n)s[i]=t;
	r(i,335){
		if(i*3==n){
			int cnt=0;
			r(c,i){
				r(a,3){
					r(b,3){
						s[cnt+a][cnt+b] = s1[a][b];
					}
				}
				cnt+=3;
			}
			r(a,n)cout<<s[a]<<endl;
			return 0;
		}
	}
	r(i,3)
	r(j,255){
		r(k,255){
			if(i*6+j*4+k*5==n){
				int cnt=0;
				r(c,j){
					r(a,4){
						r(b,4){
							s[cnt+a][cnt+b] = s2[a][b];
						}
					}
					cnt+=4;
				}
				r(c,k){
					r(a,5){
						r(b,5){
							s[cnt+a][cnt+b] = s3[a][b];
						}
					}
					cnt+=5;
				}
				r(c,i){
					r(a,6){
						r(b,6){
							s[cnt+a][cnt+b] = s4[a][b];
						}
					}
					cnt+=6;
				}
				r(a,n)cout<<s[a]<<endl;
				return 0;
			}
		}
	}
	
}