시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 512 MB108880.000%

문제

NEERC featured a number of problems about cactuses: connected undirected graphs in which every edge belongs to at most one simple cycle. Intuitively, a cactus is a generalization of a tree where some cycles are allowed. An example of a cactus from NEERC 2007 problem is given on the picture below.

Dreamoon has an undirected graph. Now he is wondering, how many subgraphs (subsets of edges) of his graph are cactuses? Can you help him find this value modulo 998 244 353?

입력

The first line contains two integers n and m: the number of vertices and edges in the Dreamoon’s graph (1 ≤ n ≤ 13, 0 ≤ m ≤ n(n−1)/2).

The next m lines describe edges in the graph. The i-th of these lines contains two integers ai and bi (1 ≤ ai, bi ≤ n, ai ≠ bi), denoting an edge between vertices ai and bi. It is guaranteed that there are no multiple edges.

출력

Output one integer: the number of cactus subgraphs of Dreamoon’s graph, modulo 998 244 353.

예제 입력 1

3 3
1 2
2 3
3 1

예제 출력 1

4

예제 입력 2

5 0

예제 출력 2

0

예제 입력 3

8 9
1 5
1 8
2 4
2 8
3 4
3 6
4 7
5 7
6 8

예제 출력 3

35

노트

Sorry, Dreamoon.