# Problem link : https://yukicoder.me/problems/no/1089 # input N = int(input()) # solve ans = ((N+2)*(N+1))//2 # output print(ans)