val = input() N = int(val) s = int(N*(N+1)/2) print(s)