Triangle Side Sum
You are given two integer segment lengths A and B, find the sum of all possible integer C such that we can construct a triangle with A, B and C.

Especificación de entrada
The input contains two integers A and B .
Especificación de salida
Print the requested sum.
Ejemplo de entrada
2 2
Ejemplo de salida
6
Sugerencia(s)
Use long long data type.
Comments