num = int(input()) for i in range(1, num + 1): output = '' for j in range(i): output += '$' + ' ' print(output)