You are given N nodes with the following information:
Write a program to tell the number of subsets from all the possible subsets of weak nodes, which on getting their values multiplied gives a number which is divisible by all primes less than 25.
Since the answer can be large, print the answer Modulo 109+7.
Input format
Output format
Print the required answer Modulo 109+7.
Constraints
1≤N,M≤5×104
1≤U,V≤N
1≤V≤109
Node numbers 3 and 5 are weak nodes. If we consider all of their subsets product then only one subset {3 , 5} which has the product 13110×17017=223092870 is divisible by all the prime numbers less than 25. Hence 1 is the answer.