Print Stars - 3

Interview

Time limit1sMemory limit128 MB

Summary
Print N lines of stars where the count decreases from N down to 1.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

Given an integer N, print N stars on the first line. On each following line, print one fewer star, so the N-th line contains one star.

Input

The first line contains an integer N.

  • 1 ≤ N ≤ 100

Output

Print the required number of stars on each line from the first line through the N-th line.

Examples1

  1. Example 1

    Input
    5
    
    Expected output
    *****
    ****
    ***
    **
    *