Given an odd integer $n$, print an X of size $n$: in row $r$ (0-based) put * at columns $r$ and $n-1-r$, spaces elsewhere.
Input
One odd integer $n$ ($5 \le n \le 49$).
Output
Print the $n \times n$ X shape.
Example 1
Input
5
Output
* * * * * * * * *
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.