Тавсифи масъала
Write a program that sums all integers from 1 to N.
| Subtask | Points | Additional Constraints |
|---|---|---|
| 1 | 40 | |
| 2 | 60 |
Input Format
The program is given one integer .
Output Format
Output one integer - the sum of all numbers from 1 to .
Мисолҳо
Мисол 1
Вуруд
5
Баромад
15