You are given two integers A and B. For every integer pair (a,b) with 0≤a<A and 0≤b<B, draw the line y=ax+b on the plane. Different pairs give different lines, so A×B lines are drawn.
Write a program that finds how many regions those lines cut the plane into.
Input
The first line contains A and B. (1≤A,B≤1200)
Output
Print the number of regions on the first line. This value goes past the 32-bit integer range, so use a 64-bit integer type.