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;
const int maxn = 5e5 + 10;
int k, m, n, T;
int deg[maxn];
struct node {
  int x, y;
} E[maxn];
int to[maxn << 1], net[maxn << 1], h[maxn], e = 1;
void add(int x, int y) {
  to[++e] = y;
  net[e] = h[x];
  h[x] = e;
}
vector<int> ans2;
void solve0() {
  int tmp = 0;
  for (int i = 1; i <= n; i++) {
    if (deg[i] % 3 == 0) {
      tmp = i;
      break;
    }
  }
  if (n == 1)
    puts("No");
  else {
    puts("Yes");
    printf("%d\n", n - 1);
    for (int i = 1; i <= n; i++) {
      if (i != tmp) printf("%d ", i);
    }
    puts("");
  }
}
inline bool check1() {
  for (int i = 1; i <= m; i++) {
    if (deg[E[i].x] % 3 == 1 && deg[E[i].y] % 3 == 1) {
      if (n == 2)
        puts("No");
      else {
        puts("Yes");
        printf("%d\n", n - 2);
        for (int j = 1; j <= n; j++) {
          if (j != E[i].x && j != E[i].y) printf("%d ", j);
        }
        puts("");
      }
      return true;
    }
  }
  return false;
}
int root, vis[maxn], ow[maxn];
int dis[maxn], v[maxn];
queue<int> q;
void bfs(int s) {
  for (int i = 1; i <= n; i++) v[i] = 0;
  while (!q.empty()) q.pop();
  v[s] = dis[s] = 1;
  q.push(s);
  while (!q.empty()) {
    int x = q.front();
    q.pop();
    for (int i = h[x]; i; i = net[i]) {
      int y = to[i];
      if (!v[y]) {
        v[y] = 1;
        dis[y] = dis[x] + 1;
        q.push(y);
      }
    }
  }
  return;
}
bool dfs1(int x, int d, int fa) {
  vis[x] = 1;
  for (int i = h[x]; i; i = net[i]) {
    int y = to[i];
    if (y == fa || vis[y] || dis[y] != dis[x] + 1) continue;
    if (deg[y] % 3 == 1) {
      ans2.push_back(x);
      ans2.push_back(y);
      return true;
    }
    if (dfs1(y, dis[y], x)) {
      ans2.push_back(x);
      return true;
    }
  }
  return false;
}
int ok[maxn], dep[maxn], fa[maxn];
vector<int> all;
void DFS(int x) {
  vis[x] = 1;
  all.push_back(x);
  dep[x] = dep[fa[x]] + 1;
  for (int i = h[x]; i; i = net[i]) {
    int y = to[i];
    if (y == fa[x]) continue;
    if (deg[y] % 3 == 1) {
      ok[x] = 1;
      continue;
    }
    fa[y] = x;
    DFS(y);
  }
}
int FLAG;
void dfss(int x) {
  if (FLAG) return;
  dep[x] = dep[fa[x]] + 1;
  vis[x] = 1;
  int depmax = 0;
  for (int i = h[x]; i && !FLAG; i = net[i]) {
    int y = to[i];
    if (y == fa[x] || !ow[y]) continue;
    if (dep[y] && dep[y] <= dep[x]) {
      depmax = max(depmax, dep[y]);
    }
  }
  for (int i = h[x]; i && !FLAG; i = net[i]) {
    int y = to[i];
    if (y == fa[x] || !ow[y]) continue;
    if (dep[y] && dep[y] == depmax) {
      int xx = x, yy = y;
      while (dep[xx] != dep[yy]) {
        if (dep[xx] < dep[yy]) swap(x, y);
        ans2.push_back(xx);
        xx = fa[xx];
      }
      while (dep[xx] && xx != yy) {
        ans2.push_back(xx);
        ans2.push_back(yy);
        xx = fa[xx];
        yy = fa[yy];
      }
      ans2.push_back(xx);
      FLAG = 1;
      return;
    }
  }
  for (int i = h[x]; i && !FLAG; i = net[i]) {
    int y = to[i];
    if (y == fa[x] || !ow[y]) continue;
    fa[y] = x;
    dfss(y);
  }
  return;
}
int num[3];
int main() {
  cin >> T;
  int NUMM = 0;
  while (T--) {
    cin >> n >> m;
    num[0] = num[1] = num[2] = 0;
    for (int i = 1; i <= n; i++) deg[i] = h[i] = 0;
    e = 1;
    for (int i = 1; i <= m; i++) {
      cin >> E[i].x >> E[i].y;
      deg[E[i].x]++;
      deg[E[i].y]++;
    }
    NUMM++;
    for (int i = 1; i <= n; i++) {
      if (deg[i] % 3 == 0) num[0]++;
      if (deg[i] % 3 == 1) num[1]++;
      if (deg[i] % 3 == 2) num[2]++;
    }
    if (num[0]) {
      solve0();
      continue;
    }
    if (check1()) continue;
    for (int i = 1; i <= m; i++) {
      add(E[i].x, E[i].y);
      add(E[i].y, E[i].x);
    }
    for (int i = 1; i <= n; i++) dep[i] = fa[i] = ow[i] = vis[i] = ok[i] = 0;
    ans2.clear();
    FLAG = 0;
    for (int i = 1; i <= n; i++)
      if (deg[i] % 3 == 2) ow[i] = 1;
    for (int i = 1; i <= n; i++) {
      if (ow[i]) {
        dfss(i);
        if (ans2.size()) {
          if (ans2.size() == n) {
            puts("No");
          } else {
            puts("Yes");
            int len = ans2.size();
            printf("%d\n", n - len);
            for (int u = 0; u < len; u++) ok[ans2[u]] = 1;
            for (int u = 1; u <= n; u++) {
              if (!ok[u]) printf("%d ", u);
            }
            puts("");
          }
        }
        break;
      }
    }
    if (FLAG) continue;
    for (int i = 1; i <= n; i++) vis[i] = ok[i] = 0;
    ans2.clear();
    int flag = 0;
    for (int i = 1; i <= n; i++) {
      if (deg[i] % 3 == 1) {
        bfs(i);
        if (dfs1(i, dis[i], 0)) {
          flag = 1;
          if (ans2.size() == n) {
            puts("No");
          } else {
            puts("Yes");
            int len = ans2.size();
            printf("%d\n", n - len);
            for (int u = 0; u < len; u++) ok[ans2[u]] = 1;
            for (int u = 1; u <= n; u++) {
              if (!ok[u]) printf("%d ", u);
            }
            puts("");
          }
          break;
        }
      }
    }
    if (flag) continue;
    for (int i = 1; i <= n; i++) vis[i] = dep[i] = fa[i] = ok[i] = 0;
    ans2.clear();
    for (int i = 1; i <= n; i++)
      if (deg[i] % 3 == 1) ans2.push_back(i);
    int num = 0;
    dep[n + 1] = n + 1;
    for (int i = 1; i <= n; i++) {
      if (deg[i] % 3 == 2 && !vis[i]) {
        all.clear();
        DFS(i);
        num++;
        int len = all.size(), cx = n + 1, zx = n + 1;
        for (int u = 0; u < len; u++) {
          if (ok[all[u]] && dep[all[u]] < dep[zx]) {
            cx = zx;
            zx = all[u];
          } else if (ok[all[u]] && dep[all[u]] < dep[cx]) {
            cx = all[u];
          }
        }
        int x = cx, y = zx;
        while (dep[x] != dep[y]) {
          if (dep[x] < dep[y]) swap(x, y);
          ans2.push_back(x);
          x = fa[x];
        }
        while (x != y) {
          ans2.push_back(x);
          ans2.push_back(y);
          x = fa[x];
          y = fa[y];
        }
        ans2.push_back(x);
        if (num == 2) break;
      }
    }
    for (int i = 1; i <= n; i++) ok[i] = 0;
    if (ans2.size() == n) {
      puts("No");
    } else {
      puts("Yes");
      int len = ans2.size();
      printf("%d\n", n - len);
      for (int u = 0; u < len; u++) ok[ans2[u]] = 1;
      for (int u = 1; u <= n; u++) {
        if (!ok[u]) printf("%d ", u);
      }
      puts("");
    }
  }
  return 0;
}