def main(): N = int(input()) S = 0 for i in range(N + 1): S = S + i print(S) if __name__ == '__main__': main()