Please Help…

You have been given A and B in range. Find the product of all numbers in the range.

1<=A<=100,000 and A<=B<=100,000

You need to return the answer as a string in the form of, “C x 10^D”

If C has more than 10 digits, then output C as 12345…12345 x 10^D

Example 1:

7 7

Output:

49 x 10^0

Example 2:

1 17

Output:

35568…28096 x 10^3