We have N+MN+M balls, each of which has an integer written on it. It is known that:
The numbers written on NN of the balls are even.
The numbers written on MM of the balls are odd.
Find the number of ways to choose two of the N+MN+M balls (disregarding order) so that the sum of the numbers written on them is even. It can be shown that this count does not depend on the actual values written on the balls.
Constraints
0 \leq N,M \leq 1000≤N,M≤100
2 \leq N+M2≤N+M
All values in input are integers.
Input
Input is given from Standard Input in the following format: