Question

Write a function that sums from 1 to given number?

Login to Submit

Examples

Input: 1
Output: 1

Input: 2
Output: 3

Input: 5
Output: 15