Multiplication of numbers with exponents