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<cstdio>
#define For(i,A,B) for(i=A;i<=(B);++i)
char a[1005][1005];
void work(int x,int k){
	if(k==4){
		a[x][x]=a[x][x+1]=a[x][x+3]=a[x+1][x+3]=a[x+2][x]=a[x+3][x]=a[x+3][x+2]=a[x+3][x+3]='a';
		a[x+1][x]=a[x+1][x+1]=a[x+2][x+2]=a[x+2][x+3]='b';
		a[x][x+2]=a[x+1][x+2]=a[x+2][x+1]=a[x+3][x+1]='c';
	}else if(k==5){
		a[x][x]=a[x][x+1]=a[x][x+4]=a[x+1][x+4]=a[x+3][x]=a[x+4][x]=a[x+4][x+3]=a[x+4][x+4]='a';
		a[x][x+2]=a[x][x+3]=a[x+1][x]=a[x+2][x]=a[x+2][x+4]=a[x+3][x+4]=a[x+4][x+1]=a[x+4][x+2]='b';
		a[x+1][x+1]=a[x+1][x+2]=a[x+2][x+3]=a[x+3][x+3]='c';
	}else if(k==6){
		a[x][x]=a[x][x+1]=a[x][x+3]=a[x+1][x+3]=a[x+2][x+5]=a[x+3][x+2]=a[x+3][x+3]=a[x+3][x+5]=a[x+4][x]=a[x+5][x]=a[x+5][x+4]=a[x+5][x+5]='a';
		a[x+1][x]=a[x+1][x+1]=a[x+2][x+2]=a[x+2][x+3]=a[x+4][x+1]=a[x+4][x+4]=a[x+4][x+5]=a[x+5][x+1]='b';
		a[x][x+2]=a[x+1][x+2]=a[x+2][x+4]=a[x+3][x+4]='c';
	}else{
		a[x][x]=a[x][x+1]=a[x][x+6]=a[x+1][x+6]=a[x+2][x+2]=a[x+2][x+3]=a[x+3][x+4]=a[x+4][x+4]=a[x+5][x]=a[x+6][x]=a[x+6][x+5]=a[x+6][x+6]='a';
		a[x][x+2]=a[x][x+3]=a[x+2][x+6]=a[x+3][x]=a[x+3][x+6]=a[x+4][x]=a[x+6][x+3]=a[x+6][x+4]='b';
		a[x+1][x+1]=a[x+1][x+2]=a[x+1][x+5]=a[x+2][x+5]=a[x+4][x+1]=a[x+5][x+1]=a[x+5][x+4]=a[x+5][x+5]='c';
	}
}
int main(){
	int n,i,j;
	scanf("%d",&n);
	if(n==2)puts("-1");
	else if(n==3)puts("aa.\n..a\n..a");
	else{
		For(i,1,n)
			For(j,1,n)a[i][j]='.';
		For(i,0,(n>>2)-2)work((i<<2)+1,4);
		i=(n&3)+4;
		work(n-i+1,i);
		For(i,1,n)puts(a[i]+1);
	}
	return 0;
}