In a computer science class, some less diligent students invented a game. They drew a rectangle on grid paper with sides aligned along the grid lines. The challenge was to count all possible rectangles that could be formed using the grid lines within the drawn rectangle. Tired of this activity, their teacher, Albert Ververovich, asked the students to write a program to automate this calculation.
Two natural numbers separated by a space, each not exceeding , representing the dimensions of the rectangle.
Output a single number—the total number of rectangles that can be formed.
Example 1