Start: Nov, 12, 2017 10:00:00
2017秋Python程序设计基础培训第二次作业
End: Nov, 19, 2017 12:00:00
Time elapsed:
Time remaining:

Problem_ID: H
Result: Accepted
Time: 84ms
Memory: 24300kB
Author: lszx_liu
In contest: 1122

s=input()
while s!="@":
    s=s.split()
    ch=s[0]
    n=int(s[1])
    print(" "*(n-1)+ch)
    i=n-2
    while i>=1:
        print(" "*i+ch+" "*((n-i-1)*2-1)+ch)
        i-=1
    if n>1:print(ch*(n*2-1))
    print()
    s=input()