Problem: You are given a cube of size k × k × k, which consists of unit cubes. Two unit cubes are considered neighbouring, if they have common face.

Your task is to paint each of k3 unit cubes one of two colours (black or white), so that the following conditions must be satisfied:

  * each white cube has exactly 2 neighbouring cubes of white color; 
  * each black cube has exactly 2 neighbouring cubes of black color. 

Input

The first line contains integer k (1 ≤ k ≤ 100), which is size of the cube.

Output

Print -1 if there is no solution. Otherwise, print the required painting of the cube consequently by layers. Print a k × k matrix in the first k lines, showing how the first layer of the cube should be painted. In the following k lines print a k × k matrix — the way the second layer should be painted. And so on to the last k-th layer. Note that orientation of the cube in the space does not matter.

Mark a white unit cube with symbol "w" and a black one with "b". Use the format of output data, given in the test samples. You may print extra empty lines, they will be ignored.

Examples

Input

1


Output

-1


Input

2


Output

bb
ww

bb
ww

Solution (in JAVA):

Solution:
import java.util.Scanner;


public class A {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		BWCube bwc = new BWCube();
		bwc.print();
	}

}

class BWCube {
	
	BWCube () {
		Scanner in = new Scanner(System.in);
		n = in.nextInt();		
	}
	
	boolean sol () {
		if (n % 2 != 0) {
			return false;
		}
		return true;
	}
	
	void formLayers() {
		layer_o = new char[n][n];
		layer_e = new char[n][n];
		
		int lo = n/2-1;
		int hi = n/2;
		
		int rnd = 0;
		
		while (lo >= 0) {
			for (int k = lo; k <= hi; k++){
				layer_o[lo][k] = layer_o[hi][k] = bw[rnd];
				layer_e[lo][k] = layer_e[hi][k] = bw[1-rnd];
			}
		
			for (int k = lo+1; k < hi; k++){
				layer_o[k][lo] = layer_o[k][hi] = bw[rnd];
				layer_e[k][lo] = layer_e[k][hi] = bw[1-rnd];
			}
			
			lo--;
			hi++;
			rnd = 1-rnd;
		}
		
		lro = new String[n];
		lre = new String[n];
		
		for (int i = 0; i < n; i++){
			lro[i] = String.valueOf(layer_o[i]);
			lre[i] = String.valueOf(layer_e[i]);
		}
		
	}
	void printLayers() {

		int lr = 0;
		
		while (lr < n) {

			for (int i = 0; i < n; i++){
				System.out.println(lro[i]);
			}
			System.out.println();

			for (int i = 0; i < n; i++){
				System.out.println(lre[i]);
			}
			System.out.println();
			
			lr = lr + 2;
		}
	}
	
	void print() {
		if (sol()) {
			formLayers();
			printLayers();
		}
		else {
			System.out.println("-1");
		}
	}

	char[][] layer_o;
	char[][] layer_e;
	
	String[] lro;
	String[] lre;
	
	int n;
	static char[] bw = {'b', 'w'};
}