X Tutup
n = int(input()) s = '#' for i in range( 1 , n+1): print (' ' *(n-i) + s*i)
X Tutup