Determine all possible unique values of the product i \cdot j, where the integer variables and range from to , and to , respectively.
1 \leq a, b, c, d \leq 10. Note that may be greater than , and may be greater than .
One line contains four integers , , , and .
Print the number of unique possible values of the product.
Example 1
Example 2