Problem G: 暑假工

Problem G: 暑假工

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 66  Solved: 39
[Status] [Submit] [Creator:]

Description

小明去打暑假工,已知小明第一天的工资是 a 元,从第二天开始,小明每天的工资都比前一天多了 1 元。  

小明连续打了 n 天暑假工。

问:小明一共挣了多少钱?  

Input

一行,两个整数 a 和 n,以一个空格分隔(1 ≤ a,n ≤ 100)。  

Output

输出一个整数,表示小明一共挣了多少钱?  

Sample Input Copy

1 10

Sample Output Copy

55