There are N children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give 1 candy to the first child in the line, 2 candies to the second child, ..., N candies to the N-th child. How many candies will be necessary in total?

-----Constraints-----
 - 1≦N≦100

-----Input-----
The input is given from Standard Input in the following format:
N

-----Output-----
Print the necessary number of candies in total.

-----Sample Input-----
3

-----Sample Output-----
6

The answer is 1+2+3=6.
[{"code": "N = int(input())\n \nans = int(N*(N+1)/2)\nprint(ans)", "passed": true, "time": 0.23, "memory": 14136.0, "status": "done"}, {"code": "n = int(input())\nprint((n*(n+1)//2))\n", "passed": true, "time": 0.28, "memory": 14252.0, "status": "done"}, {"code": "ans=0\nn=int(input())\nfor i in range(1,n+1):\n\tans+=i\n\t\nprint(ans)\n", "passed": true, "time": 0.24, "memory": 14236.0, "status": "done"}, {"code": "import math\nfrom datetime import date\n\ndef main():\n\t\t\n\tn = int(input())\n\tprint((n * (n + 1) // 2))\n\t\nmain()\n", "passed": true, "time": 0.23, "memory": 16548.0, "status": "done"}, {"code": "n=int(input())\na=0\nfor i in range(n+1):\n  a+=i\nprint(a)", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "a = 0\n\nx = int(input())\ny = x+1\nfor i in range(y):\n    a = a+i\n \n\nprint(a)", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "import sys\nimport math\n\n#https://atcoder.jp/contests/agc008/submissions/15248942\nsys.setrecursionlimit(10 ** 8)\nini = lambda: int(sys.stdin.readline())\ninm = lambda: map(int, sys.stdin.readline().split())\ninl = lambda: list(inm())\nins = lambda: sys.stdin.readline().rstrip()\ndebug = lambda *a, **kw: print(\"\\033[33m\", *a, \"\\033[0m\", **dict(file=sys.stderr, **kw))\n\nN = ini()\nprint(int((N*(N+1))/2))\n'''\nsum = 0\nfor i in range(N):\n    sum += (i+1)\nprint(sum)\n'''", "passed": true, "time": 0.24, "memory": 14116.0, "status": "done"}, {"code": "n = int(input())\nprint(n*(n+1)//2)", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "#!/usr/bin/env python3\nimport sys\n\n\ndef solve(N: int):\n    return sum(range(1, N+1))\n\n# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools\ndef main():\n    def iterate_tokens():\n        for line in sys.stdin:\n            for word in line.split():\n                yield word\n    tokens = iterate_tokens()\n    N = int(next(tokens))  # type: int\n    print((solve(N)))\n\ndef test():\n    import doctest\n    doctest.testmod()\n\ndef __starting_point():\n    #test()\n    main()\n\n__starting_point()", "passed": true, "time": 0.25, "memory": 14392.0, "status": "done"}, {"code": "num = int(input())\ntotal = 0\n\nfor n in range(num+1):\n    total = total + n\n\nprint(total)", "passed": true, "time": 0.16, "memory": 14240.0, "status": "done"}, {"code": "#1\u2266N\u2266100\na = input()\n#print(type(a))\nb = int(a)\n#print(type(b))\nc=0\n\nfor i in range(1,b+1):\n\tc = c + i\nprint(c)\n", "passed": true, "time": 0.21, "memory": 14260.0, "status": "done"}, {"code": "n = int(input())\n\n\ndef factorial(i: int):\n    if i == 1:\n        return 1\n    else:\n        return i + factorial(i - 1)\n\n\nprint((factorial(n)))\n", "passed": true, "time": 0.14, "memory": 14060.0, "status": "done"}, {"code": "n = int(input())\nans = 0\nfor i in range(1, n + 1):\n    ans += i\n\nprint(ans)\n", "passed": true, "time": 0.36, "memory": 14192.0, "status": "done"}, {"code": "N = int(input())\nans = 0\n\nfor i in range(N):\n    ans += i + 1\n\nprint(ans)", "passed": true, "time": 0.2, "memory": 14296.0, "status": "done"}, {"code": "N = int(input())\na = 0\nfor i in range(1,N + 1):\n    a =i + a\nprint(a)", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "n = int(input())\nprint(int((n + 1) * n / 2))", "passed": true, "time": 0.15, "memory": 14100.0, "status": "done"}, {"code": "n = int(input())\nanswer = n*(n+1)//2\nprint(answer)\n", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "N = input()\n\nval = int(N) + 1\ns = 0\n\nfor i in range(val):\n    s += i\n\nprint(s)", "passed": true, "time": 0.15, "memory": 14296.0, "status": "done"}, {"code": "n = int(input())\nsum = 0\nfor i in range(1, n+1):\n    sum += i\nprint(sum)\n", "passed": true, "time": 0.14, "memory": 14328.0, "status": "done"}, {"code": "n = int(input())\n\nc = (1 + n) * n / 2\n\nprint(int(c))", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "a = int(input())\nans = 0\nfor i in range(a):\n  ans += i+1\nprint(ans)", "passed": true, "time": 0.15, "memory": 14260.0, "status": "done"}, {"code": "x = int(input())\nprint((x*(x+1)//2))\n", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "import math\nprint(sum(list(range(1,int(input())+1))))", "passed": true, "time": 0.14, "memory": 14168.0, "status": "done"}, {"code": "a = int(input())\nprint((a*(a+1)//2))\n", "passed": true, "time": 0.14, "memory": 14284.0, "status": "done"}, {"code": "N = int(input())\n\nans = 0\nfor i in range(1, N + 1):\n    ans += i\nprint(ans)", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "n=int(input())\nprint(n*(n+1)//2)", "passed": true, "time": 0.15, "memory": 14220.0, "status": "done"}, {"code": "N = int(input())\nprint((1+N)*N//2)", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "def iroha():\n    count = int(input())\n    result = 0\n    for i in range(count+1):\n        result += i\n\n    print(result)\n\n\ndef __starting_point():\n    iroha()\n__starting_point()", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "n = int(input())\nsums = 0\nfor i in range(n+1):\n    sums += i\n\nprint(sums)", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "print(sum([x for x in range(1, int(input())+1)]))", "passed": true, "time": 0.42, "memory": 14248.0, "status": "done"}, {"code": "# N\u306e\u5165\u529b\u53d7\u4ed8\nN = int(input())\n# 1\uff5eN\u306e\u5408\u8a08\u3092\u8a08\u7b97\nSUM = 0\nfor i in range(N):\n    SUM = SUM + i + 1\nprint(SUM)\n", "passed": true, "time": 0.2, "memory": 14308.0, "status": "done"}, {"code": "n = int(input())\ncount = 0\nwhile n > 0:\n  count += n\n  n -= 1\n \nprint(count)", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "n = int(input())\nprint(n*(n+1)//2)", "passed": true, "time": 0.15, "memory": 14304.0, "status": "done"}, {"code": "N = int(input())\nprint(N*(N+1)//2)", "passed": true, "time": 0.2, "memory": 14236.0, "status": "done"}, {"code": "N = int(input())\n\nL = list(range(N+1))\nprint(sum(L))", "passed": true, "time": 0.2, "memory": 14096.0, "status": "done"}, {"code": "sum = 0\nfor i in range(1,int(input())+1):\n  sum += i\n  \nprint(sum)", "passed": true, "time": 0.15, "memory": 14052.0, "status": "done"}, {"code": "sum = 0\nnum = int(input())\nfor i in range(1, num+1):\n    sum += i\n\nprint(sum)", "passed": true, "time": 0.15, "memory": 14332.0, "status": "done"}, {"code": "number = int(input())\n\nanswer = 0\nfor i in range(1, number + 1):\n    answer += i\n\nprint(answer)", "passed": true, "time": 0.23, "memory": 14332.0, "status": "done"}, {"code": "n = int(input())\nres = n * (n + 1) // 2\nprint(res)\n", "passed": true, "time": 0.23, "memory": 14312.0, "status": "done"}, {"code": "n = int(input())\nprint(n * (n + 1) // 2)", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "n = int(input())\nsum = 0\nfor i in range(n +1):\n    sum += i\n\nprint(sum)\n", "passed": true, "time": 0.14, "memory": 14312.0, "status": "done"}, {"code": "N=int(input())\nprint(N*(N+1)//2)", "passed": true, "time": 0.22, "memory": 14288.0, "status": "done"}, {"code": "n = int(input())\ntotal = 0\nfor i in range(1,n+1):\n  total += i\nprint(total)\n", "passed": true, "time": 0.17, "memory": 14188.0, "status": "done"}, {"code": "n = int(input())\nprint((n*(n+1)//2))\n", "passed": true, "time": 0.15, "memory": 14156.0, "status": "done"}, {"code": "N = int(input())\ndoces = 0\ncount = N\n\nwhile count > 0:\n    doces += count\n    count -= 1\nprint (doces)", "passed": true, "time": 0.14, "memory": 14112.0, "status": "done"}, {"code": "n=int(input())\ns=0\nfor i in range(1,n+1):\n  s+=i\nprint(s)", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "# \u30ad\u30e3\u30f3\u30c7\u30a3\u30fc\u3068N\u4eba\u306e\u5b50\u4f9b\u30a4\u30fc\u30b8\u30fc\n\nN = int(input())\n\nanswer = N + N * (N - 1) // 2\n\nif 1 <= N <= 100:\n    print(answer)\nelif N <= 0 or 100 < N:\n    print('Out of range')", "passed": true, "time": 0.14, "memory": 14156.0, "status": "done"}, {"code": "N = int(input())\nans = 0\n\nfor i in range(0, N + 1):\n    ans += i\nprint(ans)", "passed": true, "time": 0.22, "memory": 14080.0, "status": "done"}, {"code": "n=int(input());print(n*(n+1)//2)", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "a = int(input())\nresult = 0\nfor i in range(a+1):\n  result+=i\nprint(result)  ", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "\"\"\"\nABC043 A \u30ad\u30e3\u30f3\u30c7\u30a3\u30fc\u3068N\u4eba\u306e\u5b50\u4f9b\u30a4\u30fc\u30b8\u30fc\nhttps://atcoder.jp/contests/abc043/tasks/abc043_a\n\"\"\"\n\nx = int(input())\nprint((x*(x+1)//2))\n", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "import math\nN = int(input())\n\nsum = math.floor((N * (1 + N))/2)\n\nprint(sum)", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "n=int(input())\nprint(n*(n+1)//2)", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "N=int(input())\nprint((int((N*(N+1))/2)))\n", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "N=int(input())\nprint((N*(N+1))//2)", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "Candy = int(input())\nans = 0\n \nfor i in range(Candy):\n    ans += i + 1\n \nprint(ans)", "passed": true, "time": 0.37, "memory": 14216.0, "status": "done"}, {"code": "n = int(input())\n\ns = 0\nfor i in range(n):\n    s += i\nprint(s+n)", "passed": true, "time": 0.21, "memory": 14300.0, "status": "done"}, {"code": "a = int(input())\nprint((a*(a+1))//2)", "passed": true, "time": 0.24, "memory": 14304.0, "status": "done"}, {"code": "N = int(input())\nprint(int(N * (N + 1) / 2))", "passed": true, "time": 0.19, "memory": 14208.0, "status": "done"}, {"code": "N=int(input())\ns=0\nfor i in range(0,N+1):\n    s=s+i\nprint(s)", "passed": true, "time": 0.23, "memory": 14340.0, "status": "done"}, {"code": "from sys import stdin, stdout\nfrom time import perf_counter\n\nimport sys\nsys.setrecursionlimit(10**9)\nmod = 10**9+7\n\n\n\n\n\nn = int(input())\nresutl = (n * (n + 1))//2\nprint(resutl)", "passed": true, "time": 0.16, "memory": 14228.0, "status": "done"}, {"code": "n = int(input())\ntemp = (n*(n+1))//2\nprint(temp)", "passed": true, "time": 0.16, "memory": 14320.0, "status": "done"}, {"code": "n = int(input())\nprint((n*(n+1))//2)", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "import math\nn = int(input())\n\nprint(math.floor(n/2*(n+1)))", "passed": true, "time": 0.14, "memory": 14356.0, "status": "done"}, {"code": "n = int(input())\nx = 0\nfor i in range(1, n+1):\n  x += i\nprint(x)", "passed": true, "time": 0.15, "memory": 14328.0, "status": "done"}, {"code": "N = int(input())\nprint(N * (N + 1) // 2)", "passed": true, "time": 0.24, "memory": 14184.0, "status": "done"}, {"code": "n = int(input())\n\nprint((n*(n+1)//2))\n", "passed": true, "time": 0.15, "memory": 14092.0, "status": "done"}, {"code": "n = int(input())\nprint(((n+1)*n//2))\n", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "from sys import stdin\ninput = stdin.readline\n\nN = int(input())\n\nif N % 2 == 1:\n    print(N * (N+1)//2)\nelse:\n    print((N+1) * N//2)", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "n = int(input())\nprint((int(n*(n+1)/2)))\n\n", "passed": true, "time": 0.24, "memory": 14180.0, "status": "done"}, {"code": "n = int(input())\n\nc = 0\nwhile n!=0:\n    c += n\n    n -= 1\nprint(c)", "passed": true, "time": 0.14, "memory": 14124.0, "status": "done"}, {"code": "N=int(input())\n\nx=int((N+1)*N/2)\n\nprint(x)", "passed": true, "time": 0.14, "memory": 14332.0, "status": "done"}, {"code": "n=int(input())\nmemo=[0]*110\nmemo[1]=1\nfor i in range(2,105):\n    memo[i]=memo[i-1]+i\nprint(memo[n])", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "\nn = int(input())\nm = 0\nfor i in range(1,n+1):\n    m += i\n\nprint(m)", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "N = int(input())\ncnt = 0\nfor i in range(N+1):\n  cnt += i\nprint(cnt)", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "N = int(input())\n \ncandy=(1+N)*N/2\nprint(int(candy))", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "n = int(input())\n\nprint(sum(range(n+1)))", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "n = int(input())\n\nans = 0\n\nfor i in range(1,n+1):\n  ans += i\nprint(ans)", "passed": true, "time": 0.14, "memory": 14084.0, "status": "done"}, {"code": "n = int(input())\nprint(n*(n+1)//2)", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "N=int(input())\nk=0\n\nfor i in range(N+1):\n    k +=i\n    \nprint(k)", "passed": true, "time": 0.21, "memory": 14100.0, "status": "done"}, {"code": "N = int(input())\nprint(N*(N+1)//2)", "passed": true, "time": 0.23, "memory": 14096.0, "status": "done"}, {"code": "n = int(input())\nans = n*(n+1)//2\nprint(ans)", "passed": true, "time": 0.14, "memory": 14316.0, "status": "done"}, {"code": "N=int(input())\nprint(N*(N+1)//2)", "passed": true, "time": 0.23, "memory": 14320.0, "status": "done"}, {"code": "n=int(input());print(n*(n+1)//2)", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "n = int(input())\na = 0\nfor i in range(n+1):\n  a = a+i\n\nprint(a)", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "N=int(input())\n\nprint((1+N)*N//2)", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "N = int(input())\n\nans = 0\n\nfor i in range(N):\n    ans += i + 1\nprint(ans)", "passed": true, "time": 0.23, "memory": 14092.0, "status": "done"}, {"code": "n=int(input())\n\nprint(n*(n+1)//2)", "passed": true, "time": 0.22, "memory": 14292.0, "status": "done"}, {"code": "def main():\n    n = int(input())\n\n    ans = int(n * (n+1) / 2)\n    print(ans)\n\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "N = int(input())\n\nsum = 0\nfor i in range(1,N+1):\n    sum += i\n\nprint(sum)", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "N = int(input())\nSum = 0\nfor i in range(1, N + 1):\n    Sum += i\nprint(Sum)", "passed": true, "time": 0.14, "memory": 14112.0, "status": "done"}, {"code": "n = int(input())\nprint (n * (n + 1) // 2)", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "n = input()\ncu = 0\ncd = 0\nfor i in range(int(n)):\n    cu+=1\n    cd+=cu\n\nprint(cd)", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "N = int(input())\nans = 0\nfor i in range(N + 1):\n  ans += i\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "print(sum(range(int(input())+1)))", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "print(sum(list(range(int(input())+1))))", "passed": true, "time": 0.14, "memory": 14048.0, "status": "done"}, {"code": "# \u30ad\u30e3\u30f3\u30c7\u30a3\u30fc\u3068N\u4eba\u306e\u5b50\u4f9b\u30a4\u30fc\u30b8\u30fc\n\nN = int(input())\n\nanswer = N + N * (N - 1) // 2\n\nprint(answer)", "passed": true, "time": 0.14, "memory": 14152.0, "status": "done"}, {"code": "n = int(input())\nans = 0\nfor i in range(1, n + 1):\n    ans += i\nprint(ans)", "passed": true, "time": 0.22, "memory": 14060.0, "status": "done"}, {"code": "ans = 0\na=int(input())\nfor i in range(a+1):\n\tans+=i\nprint(ans)", "passed": true, "time": 0.2, "memory": 14192.0, "status": "done"}, {"code": "N=int(input());num=0\nfor i in range(N):num+=i+1\nprint(num)", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}]