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)