Dressing Up | 프로그래밍의 벗 PivotOJ
PivotOJ

Dressing Up

시간 제한: 1000ms메모리 제한: 128MB출처: CCC 2001 JuniorBOJ 6929

문제

It is important to keep our computers safe and clean. Some people feel that computers should be well-dressed, also. For this question, you will write a program to print out a bow tie on the computer screen.

Your program should take as input the height HH of the bow tie, where HH is an odd positive integer greater than or equal to 5. A bow tie with HH rows (and 2H2H columns) should then be printed using the pattern shown below in the sample output.

입력

One line containing integer HH. You may assume that all input data will be valid.

예제

예제 1

입력
5
출력
*        *
***    ***
**********
***    ***
*        *

예제 2

입력
7
출력
*            *
***        ***
*****    *****
**************
*****    *****
***        ***
*            *
이 문제는 채점 준비 중입니다. 테스트 데이터가 확보되면 제출이 가능합니다.