This page is still under construction.

Parts of this page are still being built. What you see may change.

Star Pattern 21

Time limit1sMemory limit256 MB

Summary
Print the star pattern for the given N exactly as the samples show.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

Print the star pattern defined by the samples.

Input

An integer NN (1≤N≤1001 \le N \le 100).

Output

Print the pattern.

Examples4

  1. Example 1

    Input
    1
    
    Expected output
    *
    
  2. Example 2

    Input
    2
    
    Expected output
    *
     *
    *
     *
    
  3. Example 3

    Input
    3
    
    Expected output
    * *
     *
    * *
     *
    * *
     *
    
  4. Example 4

    Input
    4
    
    Expected output
    * *
     * *
    * *
     * *
    * *
     * *
    * *
     * *