Star Letter X
Given an odd positive integer n, print the letter X inside an n x n grid.
Input
- One odd positive integer n.
Output
- Print * on both diagonals and spaces elsewhere. Do not print trailing spaces.
Constraints
- 1 <= n <= 99
- n is odd
Example
Input
5
Output
* *
* *
*
* *
* *
Comments