#C10996. Inverted Star Triangle Pattern

    ID: 40262 Type: Default 1000ms 256MiB

Inverted Star Triangle Pattern

Inverted Star Triangle Pattern

Given an integer \( N \) such that \(2 \le N \le 100\), generate an inverted right triangle pattern composed of asterisks ('*'). The first row should contain \(N\) asterisks, the second row \(N-1\) asterisks, and so on until the last row contains 1 asterisk.

The input is provided via standard input (stdin) and the output should be sent to standard output (stdout). All rows must be separated by a newline character.

inputFormat

The input consists of a single integer \( N \) (with \( 2 \le N \le 100\)) read from stdin.

outputFormat

Output the inverted right triangle pattern. The first line should have \(N\) '*' characters, the second line \(N-1\), continuing until the last line prints a single '*'. Each line should end with a newline character (except possibly the last one).

## sample
2
**

*

</p>