Calculating the product of three integers.