You are given an undirected graph of
Constraints
Input Specification
The first line contains two space-separated integers,
Each of the next
Output Specification
Count the number of valid subsets modulo
Sample Input
Copy
3 3
1 2
1 3
2 3
Sample Output
Copy
4
Comments