Problem Description

Given n, print the sum 1+2+...+n.

Input Format

One integer n.

Output Format

One integer sum.

Sample Test Case

Input:
5
Output:
15

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next