num = input() N = int(num) while N > 0: a = num for j in range(N-1,0,-1): a += num print(a) N -= 1