Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×
E. Chessboard
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output

Chessboard is a board of n × n squares arranged in two alternating colors (black and white). Top left square is white. You are given board size n. Output an image of a chessboard, with black and white squares marked with '#' and '.' characters, respectively.

Input

The only line of input contains an integer n (1 ≤ n ≤ 9).

Output

Output an image of n × n chessboard.

Examples
Input
4
Output
.#.#
#.#.
.#.#
#.#.