Reconstruct an integer from its prime exponents All integers \$n &gt; 0\$ can be expressed in the form
$$n = \prod_{\text{prime } p} p^e = 2^{e_2} 3^{e_3} 5^{e_5} 7^{e_7} \cdots$$
This form is also known as it's prime factorisation or prime decomposition, and each integer has a unique prime factorisation.
As the bases are fixed, it is possible to reconstruct an integer when just given a list of the exponents of it's prime factorisation. For example, given \$E = [0,3,2,1,0,2]\$ we can reconstruct \$n\$ as
$$
\begin{align}
n &amp; = 2^0 3^3 5^2 7^1 11^0 13^2 \\
&amp; = 1 \cdot 27 \cdot 25 \cdot 7 \cdot 1 \cdot 169 \\
&amp; = 798525
\end{align}
$$
Therefore, \$[0,3,2,1,0,2] \to 798525\$, and is the only such list (ignoring trailing zeros) that does so.
You are to take an input consisting of non-negative integers representing the exponents of the prime factorisation of some integer and output the integer with that prime factorisation.
Both the integer and the elements of the input will be within the bounds of your language, and you can take input in any convenient method. You may have an arbitrary (from 0 to infinite) number of trailing zeros in the input. The array will never be empty, but may be [0]
This is code-golf so the shortest code in bytes wins
Test cases
[0] -&gt; 1
[1] -&gt; 2
[3, 2] -&gt; 72
[0, 1, 2] -&gt; 75
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1] -&gt; 347
[6, 2] -&gt; 576
[1, 7] -&gt; 4374
[5, 7] -&gt; 69984
[10, 5] -&gt; 248832
[1, 0, 0, 8, 4] -&gt; 168804902882
[3, 8, 10] -&gt; 512578125000
[7, 9, 0, 8] -&gt; 14523977994624
[4, 4, 7, 0, 0, 5, 5] -&gt; 53377275216476250000
[1, 8, 1, 7, 8, 1] -&gt; 150570936449966222190
[10, 0, 2, 8, 9] -&gt; 347983339699826969600
[4, 8, 2, 3, 7, 9] -&gt; 186021488852335961308083600
[7, 6, 6, 8, 6, 8, 4] -&gt; 1014472920935186644572261278658000000
[9, 6, 7, 5, 1, 8, 10] -&gt; 8865565384329431006794755470280000000
Python 2, 61 bytes
Wilson's theroem FTW!

f=lambda p,a=1,b=1:p==[]or b**(a%b*p[0])*f(p[a%b:],a*b*b,b+1)

Try it online!
Python 2, 62 bytes

f=lambda p,a=1,b=1:p==[]or(a%b&lt;1or b**p.pop(0))*f(p,a*b*b,b+1)

Try it online!