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