You are given an integer array A of size x denoting the prime powers of an integer N. Ai denotes the power of ith prime in the prime factorization of N. To make it more clear, A1 will denote the power of 2 in the prime factorization of N, A2 will denote the power of 3 in the prime factorization of N and so on.
Consider a number P equals to the product of all the divisors of N. You have to find the number of divisors of P. Output it modulo 109+7.
Input Format:
The first line contains an integer, x (1≤x≤106) denoting the size of array A. Next line contains x space separated integers, denoting the array A (0≤Ai≤109).
Output Format:
Print one integer, denoting the number of divisors of P, modulo 109+7.
N=21∗31∗51=30
P=1∗2∗3∗5∗6∗10∗15∗30=810000
Number of factors of P is 125