Calculating Product of Variable Numbers