Consider the following function:
= Number of divisors of integer X
You are given an array that consists of integers. You are also provided queries. There can be only one type of query, . You are required to determine the product of all the numbers in the range from to . The output can contain the values of and . Your task is to print the result of function mod for that product.
Input format
Output format
For each query, you are required to print a single number denoting the answer to that query mod .
Constraints
Note: Each element of the array cannot contain a value that is greater than .
For the 1st query, the product is 2 , F(2)=2. For the second query , product=720 , F(720)=30.