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