HZNUOJ


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()