from sys import argv N = int(argv[1]) print(N*(1+N)/2)