Take N (number of rows), print the following pattern hollow diamond like pattern

Take N (number of rows), print the following pattern (for N = 5).

 * * * * *
 * *   * *
 *       *
 * *   * *
 * * * * *

Input Format

Constraints
0 < N < 10 (where N is an odd number)

Output Format

Sample Input
5
Sample Output



  •                      *
    


Explanation
Each ‘*’ is separated from other by a tab. please help me in this in easy

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.