#d2386. 特殊的正方形

特殊的正方形

Special Square

Problem Description

Given nn, output an n×nn \times n square made of + and ., where the outermost ring is all +, the second ring is all ., and so on. For the ii-th ring, if ii is odd then it is all +, otherwise it is all ..

Input Format

A single line containing one integer nn.

Output Format

Output nn lines forming the required square. There must be no trailing spaces at the end of any line.

Sample Input

10

Sample Output

++++++++++
+........+
+.++++++.+
+.+....+.+
+.+.++.+.+
+.+.++.+.+
+.+....+.+
+.++++++.+
+........+
++++++++++

Constraints

For 100%100\% of the data, 2≤n≤1002 \le n \le 100.