Mad Angles

easy
Write a generic code to print the pattern, as mentioned in the Output format

Input Format

The first and only line of input contains an integer N

Output Format

For N=3, the output will be: <img src="https://pepcoding.com/resources/ojquestionresource/images/madAngles.png" alt="mad_angles">

Constraints

2 <= N <= 100

Example

Input
3
Output
***  *****  *  *****  ***
***   ***  ***  ***   ***
***    *  *****  *    ***
Previous
The Chocolate Problem
Next
Hollow Square

Related Questions