CF128E Birthday

Description

Anna's got a birthday today. She invited many guests and cooked a huge (nearly infinite) birthday cake decorated by $ n $ banana circles of different sizes. Maria's birthday is about to start in 7 minutes too, and while Anna is older, she decided to play the boss a little. She told Maria to cut the cake by $ k $ straight-line cuts (the cutting lines can intersect) to divide banana circles into banana pieces. Anna has many guests and she wants everyone to get at least one banana piece. That's why she told Maria to make the total number of banana pieces maximum. It's not a problem if some banana pieces end up on the same cake piece — the key is to make the maximum number of banana pieces. Determine what result Maria will achieve.

Input Format

The first line contains two integers $ n $ and $ k $ — the number of banana circles and the number of cuts Maria should perform ( $ 1

Output Format

Print the only integer — the largest number of banana pieces that Maria can get after she performs the $ k $ straight-line cuts. Please do not use the %lld specificator to read or write 64-bit integers in C++. It is preferred to use the cin, cout streams or the %I64d specificator.