Page not loading? Try clicking here.
Placeholder

#4881

속이 빈 삼각형 1s 128MB

Problems

홀수의 정수 N를 입력받아 아래와 같이 입력받은 높이 N의 삼각형을 그리시오.


Input

첫 줄에 정수 N이 주어진다. (1 \le N \le 9)


Output

출력 형식에 맞춰 출력한다.


Example #1

1
*

Example #2

3
  *

* *
*****

Example #3

5
    *

* *
* *
* *
*********

Source

JUNGOL - klee
You must sign in to write code.