1769 独木舟图形


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

输入N值,编程输出如下图形。

Input

一个整数N(1 <=N <= 7)

Output

排列成菱形的大写字符,首字符为Z,以后依次为Y,X...

Sample

Input

3
1

Output

Z
  Y   X
W       V
  U   T
    S
Z

Comments

There are no comments at the moment.