N = input() N = int(N) while N <= 0: tmp = tmp + N N = N - 1 print(tmp)