#d2386. 特殊的正方形
特殊的正方形
Special Square
Problem Description
Given , output an square made of + and ., where the outermost ring is all +, the second ring is all ., and so on. For the -th ring, if is odd then it is all +, otherwise it is all ..
Input Format
A single line containing one integer .
Output Format
Output lines forming the required square. There must be no trailing spaces at the end of any line.
Sample Input
10
Sample Output
++++++++++
+........+
+.++++++.+
+.+....+.+
+.+.++.+.+
+.+.++.+.+
+.+....+.+
+.++++++.+
+........+
++++++++++
Constraints
For of the data, .