k = raw_input(' : ') n = input('변 : ') for z in range(1,n): print ' '*(n-z),k*((z*2)-1) for z in range(1,n)[::-1]: print ' '*(n-z),k*((z*2)-1)