Given an integer, your task is to find the number, sum and product of its divisors. As an example, let us consider the number $12$ :
Since the input number may be large, it is given as a prime factorization.
The first line has an integer $n$ : the number of parts in the prime factorization.
After this, there are $n$ lines that describe the factorization. Each line has two numbers $x$ and $k$ where $x$ is a prime and $k$ is its power.
Print three integers modulo $10^9+7$ : the number, sum and product of the divisors.