N = int(input()) def sum1(N): if N == 0: return 0 return sum1(N -1) + N print(sum1(N))