Problem: I'm the Map, I'm the Map! I'm the MAP!!!

Map

In anticipation of new adventures Boots wanted to do a good deed. After discussion with the Map and Backpack, they decided to gift Dora a connected graph. After a long search, Boots chose t graph's variants, which Dora might like. However fox Swiper wants to spoil his plan.

The Swiper knows, that Dora now is only able to count up to 3, so he has came up with a following idea. He wants to steal some non-empty set of vertices, so that the Dora won't notice the loss. He has decided to steal some non-empty set of vertices, so that after deletion of the stolen vertices and edges adjacent to them, every remaining vertex wouldn't change it's degree modulo 3. The degree of a vertex is the number of edges it is adjacent to. It would've been suspicious to steal all the vertices, so Swiper needs another plan.

Boots are sure, that the crime can not be allowed. However they are afraid, that they won't be able to handle this alone. So Boots decided to ask for your help. Please determine for every graph's variant whether the Swiper can perform the theft or not.

Input

The first line contains a single integer t (1 ≤ t ≤ 100 000) — the number of graph variants.

The first line of each variant contains integers n, m (1 ≤ n ≤ 500 000, 0 ≤ m ≤ 500 000), the number of vertexes and edges in the graph.

Then m lines follow, each containing integers a_i, b_i (1 ≤ a_i, b_i ≤ n), the indices of the vertices connected with a corresponding edge.

It's guaranteed, that the graph is connected and doesn't contain multiple edges or self-loops.

It's guaranteed, that the sum of n over all variants is at most 500 000 and that the sum of m over all variants is at most 500 000.

Descriptions of graph's variants are separated with an empty line.

Output

For each variant:

  * In case the answer exists, print "Yes" and then the answer itself.

The first line should contain an integer c (1 < c < n), the number of vertices the Crook can steal, without Dora noticing the loss. On the next line print c distinct integers, the indices of the graph's vertices in arbitrary order.

  * Otherwise print "No". 



In case there are several correct ways to steal the vertices, print any of them.

Please note, that it's not required to maximize the number of stolen vertices.

Example

Input


3
3 3
1 2
2 3
3 1

6 6
1 2
1 3
2 3
2 5
2 6
2 4

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


Output


No
Yes
3
4 5 6
Yes
3
6 7 8

Note

The picture below shows the third variant from the example test. The set of the vertices the Crook can steal is denoted with bold. 

<image>

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
int n, m;
vector<int> graph[500005];
vector<int> tgraph[500005];
int degree[500005];
int uf[500005];
int pre[500005];
int onenode[500005];
vector<int> onenode_conn[500005];
int dominated_by[500005];
int onelink[500005];
int fin(int a) {
  if (uf[a] == a) return a;
  return uf[a] = fin(uf[a]);
}
void un(int a, int b) {
  a = fin(a);
  b = fin(b);
  uf[a] = b;
}
void answer(vector<int>& ans) {
  printf("Yes\n%d\n", (int)ans.size());
  for (int i = 0; i < ans.size(); i++) {
    printf("%d ", ans[i]);
  }
  printf("\n");
}
void findpath(set<int>& path, int from, int to, bool indirect = false) {
  queue<int> bfs;
  bfs.push(from);
  pre[from] = -1;
  while (!bfs.empty()) {
    int cur = bfs.front();
    bfs.pop();
    for (int i = 0; i < graph[cur].size(); i++) {
      int nxt = graph[cur][i];
      if (degree[nxt] == 1 && nxt != to) continue;
      if (indirect && cur == from && nxt == to) continue;
      if (pre[nxt] == 0) {
        pre[nxt] = cur;
        bfs.push(nxt);
      }
    }
  }
  while (to != -1) {
    path.insert(to);
    to = pre[to];
  }
  for (int i = 1; i <= n; i++) pre[i] = 0;
}
void findpath_onenode(set<int>& path, int from, int onenodeid) {
  queue<int> bfs;
  bfs.push(from);
  pre[from] = -1;
  int to = 0;
  while (!bfs.empty()) {
    int cur = bfs.front();
    bfs.pop();
    for (int i = 0; i < tgraph[cur].size(); i++) {
      int nxt = tgraph[cur][i];
      if (pre[nxt] == 0) {
        pre[nxt] = cur;
        bfs.push(nxt);
      }
      if (onelink[nxt] == onenodeid && nxt != from) {
        to = nxt;
        goto loop_end;
      }
    }
  }
loop_end:
  while (to != -1) {
    path.insert(to);
    to = pre[to];
  }
  for (int i = 1; i <= n; i++) pre[i] = 0;
}
void work(void) {
  scanf("%d%d", &n, &m);
  for (int i = 1; i <= m; i++) {
    int u, v;
    scanf("%d%d", &u, &v);
    graph[u].push_back(v);
    graph[v].push_back(u);
    degree[u]++;
    degree[v]++;
  }
  if (n <= 2) {
    printf("No\n");
    return;
  }
  int node0 = -1;
  int hnodes = 0;
  for (int i = 1; i <= n; i++) {
    uf[i] = i;
    if (degree[i] >= 3) hnodes++;
    degree[i] %= 3;
    if (!degree[i]) node0 = i;
  }
  if (!hnodes) {
    printf("No\n");
    return;
  }
  if (node0 != -1) {
    vector<int> ans;
    for (int i = 1; i <= n; i++)
      if (i != node0) ans.push_back(i);
    answer(ans);
    return;
  }
  for (int i = 1; i <= n; i++) {
    if (degree[i] != 1) continue;
    for (int j = 0; j < graph[i].size(); j++) {
      if (degree[graph[i][j]] == 1) {
        vector<int> ans;
        for (int k = 1; k <= n; k++)
          if (k != i && k != graph[i][j]) ans.push_back(k);
        answer(ans);
        return;
      } else {
        onelink[graph[i][j]] = i;
      }
    }
  }
  for (int i = 1; i <= n; i++) {
    if (degree[i] != 2) continue;
    vector<int> nxt;
    for (int j = 0; j < graph[i].size(); j++) {
      if (degree[graph[i][j]] == 1) nxt.push_back(graph[i][j]);
      if (nxt.size() >= 2) break;
    }
    if (nxt.size() >= 2) {
      vector<int> ans;
      for (int k = 1; k <= n; k++)
        if (k != i && k != nxt[0] && k != nxt[1]) ans.push_back(k);
      answer(ans);
      return;
    }
  }
  for (int i = 1; i <= n; i++) {
    if (degree[i] != 2) continue;
    for (int j = 0; j < graph[i].size(); j++) {
      if (degree[graph[i][j]] != 2) continue;
      if (i > graph[i][j]) continue;
      tgraph[i].push_back(graph[i][j]);
      tgraph[graph[i][j]].push_back(i);
    }
  }
  for (int i = 1; i <= n; i++) {
    if (degree[i] != 2) continue;
    for (int j = 0; j < graph[i].size(); j++) {
      if (degree[graph[i][j]] != 2) continue;
      if (i > graph[i][j]) continue;
      if (fin(i) == fin(graph[i][j])) {
        set<int> path;
        findpath(path, i, graph[i][j], true);
        vector<int> ans;
        for (int k = 1; k <= n; k++)
          if (!path.count(k)) ans.push_back(k);
        answer(ans);
        return;
      }
      un(i, graph[i][j]);
    }
  }
  for (int i = 1; i <= n; i++) {
    if (degree[i] != 1) continue;
    for (int j = 0; j < graph[i].size(); j++) {
      int nxt = graph[i][j];
      if (onenode[fin(nxt)] && onenode[fin(nxt)] != i) {
        set<int> path;
        findpath(path, i, onenode[fin(nxt)]);
        vector<int> ans;
        for (int k = 1; k <= n; k++)
          if (!path.count(k)) ans.push_back(k);
        answer(ans);
        return;
      } else {
        onenode[fin(nxt)] = i;
        onenode_conn[fin(nxt)].push_back(nxt);
      }
    }
  }
  for (int i = 1; i <= n; i++) {
    if (!onenode[i]) continue;
    if (dominated_by[onenode[i]]) {
      set<int> keep_set;
      findpath_onenode(keep_set, onenode_conn[dominated_by[onenode[i]]][0],
                       onenode[i]);
      findpath_onenode(keep_set, onenode_conn[i][0], onenode[i]);
      keep_set.insert(onenode[i]);
      vector<int> ans;
      for (int k = 1; k <= n; k++)
        if (!keep_set.count(k)) ans.push_back(k);
      if (ans.empty()) {
        printf("No\n");
      } else {
        answer(ans);
      }
      return;
    }
    dominated_by[onenode[i]] = i;
  }
  printf("No\n");
}
int main() {
  int T;
  scanf("%d", &T);
  for (int data = 1; data <= T; data++) {
    work();
    for (int i = 1; i <= n; i++)
      graph[i].clear(), tgraph[i].clear(), degree[i] = 0, onenode[i] = 0,
                                           onenode_conn[i].clear(),
                                           dominated_by[i] = 0, onelink[i] = 0;
  }
  return 0;
}