Competitions

# Week 1: November 2 – 8. Introduction to C language. Part 1

# Sum of integers on the interval

Find the sum of all integers from **a** to **b**.

#### Input

Two integers **а** and **b**, no more than **2** * `10`

by absolute value.^{9}

#### Output

Print the sum of all integers from **a** to **b**.

Input example #1

2 5

Output example #1

14