You are given a positive integer X and your task is to find the summation of its perfect square divisors.
let X=x1y1∗x2y2∗x3y3∗....∗xnyn.
Input format
The input is given in the following format
:nx1y1x2y2x3y3...xnyn
Output format
Print one integer denoting the summation of the perfect square divisors of X modulo 1e9+7.
Constraints
1≤xi,yi≤2×1061≤n≤105
the sampe input corresponds to X = 2^2 * 3^1 = 12, which has these divisors : 1, 2, 3, 4, 6, 12.
Among these divisors these are pefect square : 1, 4, so the answer is 1 + 4 = 5