Rhombus.

Write a program that, given a number nn, prints a rhombus of size nn.

Input

A natural number n1n \geq 1.

Output

Print 2*n12*n - 1 lines (each followed by a newline), as shown in the examples. The asterisks on the nnth line should not be preceeded by any spaces.

Observation

Problem information

Author: Hubie Chen

Generation: 2026-01-25T16:01:29.113Z

© Jutge.org, 2006–2026.
https://jutge.org