You are given an integer array A of size x denoting the prime powers of an integer N. denotes the power of prime in the prime factorization of N. To make it more clear, will denote the power of 2 in the prime factorization of N, 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 .
Input Format:
The first line contains an integer, x () denoting the size of array A. Next line contains x space separated integers, denoting the array A ().
Output Format:
Print one integer, denoting the number of divisors of P, modulo .
Number of factors of P is