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;
template <typename T>
inline T read() {
  T f = 0, x = 0;
  char c = getchar();
  while (!isdigit(c)) f = c == '-', c = getchar();
  while (isdigit(c)) x = x * 10 + c - 48, c = getchar();
  return f ? -x : x;
}
namespace run {
const int N = 2e6 + 9;
int n, m, head[N], nex[N], to[N], cnt, deg[N], fa[N];
inline void add(int u, int v) {
  nex[++cnt] = head[u];
  head[u] = cnt, to[cnt] = v;
}
inline int get(int x) { return x == fa[x] ? x : fa[x] = get(fa[x]); }
struct Edge {
  int u, v;
  explicit Edge() {}
  Edge(int _u, int _v) : u(_u), v(_v) {}
} ed[N];
int vis[N], dep[N], par[N], sum[N], Pc = 0;
inline void dfs(int u, int _f) {
  par[u] = _f, dep[u] = dep[_f] + 1, vis[u] = 1;
  int tmp = 0;
  for (int j = head[u]; j; j = nex[j])
    if (dep[u] > dep[to[j]] && to[j] ^ _f && vis[to[j]] &&
        dep[to[j]] > dep[tmp])
      tmp = to[j];
  if (tmp && dep[u] - dep[tmp] + 1 != n) {
    while (u != par[tmp]) vis[u] = 2, u = par[u];
    return Pc = 1, void();
  }
  for (int i = head[u]; i; i = nex[i])
    if (to[i] ^ _f) {
      if (!vis[to[i]]) dfs(to[i], u);
      if (Pc) return;
    }
}
queue<int> q;
inline void dfs1(int u, int _f) {
  while (!q.empty()) q.pop();
  for (int i = 1; i <= n; i++) vis[i] = 0;
  q.push(u), par[u] = 0, vis[u] = 1;
  while (!q.empty()) {
    int u = q.front();
    q.pop();
    for (int i = head[u]; i; i = nex[i])
      if (!vis[to[i]]) {
        par[to[i]] = u, vis[to[i]] = 1;
        if (deg[to[i]] == 1) {
          int tmp = to[i];
          while (tmp != 0) vis[tmp] = 2, tmp = par[tmp];
          return Pc = 1, void();
        }
        q.push(to[i]);
      }
  }
}
int st[N], top, rt = 0;
inline bool dfs2(int u, int _f) {
  vis[u] = 1;
  for (int i = head[u]; i; i = nex[i])
    if (to[i] ^ _f) {
      if (to[i] == rt) {
        st[++top] = u;
        return 1;
      }
      if (!vis[to[i]])
        if (dfs2(to[i], u)) {
          st[++top] = u;
          return 1;
        }
    }
  return 0;
}
int tmp, pos;
int main() {
  int T = read<int>(), tot = 0, flag = 0;
  while (T--) {
    n = read<int>(), m = read<int>();
    cnt = 0;
    for (int i = 1; i <= n; i++) vis[i] = deg[i] = 0, fa[i] = i, head[i] = 0;
    for (int i = 1; i <= m; i++) {
      int u = read<int>(), v = read<int>();
      deg[u]++, deg[v]++, ed[i] = Edge(u, v);
    }
    int Z = 0;
    for (int i = 1; i <= n; i++) {
      deg[i] %= 3;
      if (!deg[i] && n > 1) {
        puts("Yes");
        printf("%d\n", n - 1);
        for (int j = 1; j <= n; j++)
          if (i != j) printf("%d ", j);
        puts("");
        goto end;
      }
      Z += (deg[i] == 1);
    }
    for (int i = 1; i <= m; i++) {
      if (deg[ed[i].u] == 1 && deg[ed[i].v] == 1 && n > 2) {
        puts("Yes");
        printf("%d\n", n - 2);
        for (int j = 1; j <= n; j++)
          if (j != ed[i].u && j != ed[i].v) printf("%d ", j);
        puts("");
        goto end;
      } else if (deg[ed[i].u] == 2 && deg[ed[i].v] == 2)
        add(ed[i].u, ed[i].v), add(ed[i].v, ed[i].u);
    }
    Pc = 0;
    for (int i = 1; i <= n; i++) vis[i] = sum[i] = 0;
    for (int i = 1; i <= n; i++) {
      if (!vis[i]) dfs(i, 0);
      if (Pc) break;
    }
    if (Pc) {
      vector<int> a;
      a.clear();
      for (int i = 1; i <= n; i++)
        if (vis[i] != 2) a.push_back(i);
      puts("Yes");
      printf("%d\n", (int)a.size());
      for (int i = 0; i < a.size(); i++) printf("%d ", a[i]);
      puts("");
      goto end;
    }
    if (Z > 1) {
      for (int i = 1; i <= n; i++) head[i] = vis[i] = 0;
      cnt = 0;
      for (int i = 1; i <= m; i++) add(ed[i].u, ed[i].v), add(ed[i].v, ed[i].u);
      for (int i = 1; i <= n; i++)
        if (deg[i] == 1) {
          dfs1(i, 0);
          break;
        }
      if (Pc) {
        vector<int> a;
        a.clear();
        for (int i = 1; i <= n; i++)
          if (vis[i] != 2) a.push_back(i);
        if (a.size()) {
          puts("Yes");
          printf("%d\n", (int)a.size());
          for (int i = 0; i < a.size(); i++) printf("%d ", a[i]);
          puts("");
          goto end;
        }
      }
    } else if (Z == 1) {
      pos = 0;
      for (int i = 1; i <= n; i++) {
        head[i] = 0;
        if (deg[i] == 1) assert(pos == 0), pos = i;
      }
      if (pos) {
        cnt = 0;
        for (int i = 1; i <= m; i++)
          if (deg[ed[i].u] == 2 && deg[ed[i].v] == 2) {
            add(ed[i].u, ed[i].v), add(ed[i].v, ed[i].u);
            fa[get(ed[i].u)] = get(ed[i].v);
          }
        tmp = 0;
        for (int i = 1; i <= m; i++)
          if (ed[i].u == pos || ed[i].v == pos) {
            if (ed[i].v == pos) swap(ed[i].u, ed[i].v);
            add(ed[i].v, ed[i].u);
            if (!tmp)
              tmp = get(ed[i].v), add(pos, ed[i].v);
            else if (~tmp && tmp != get(ed[i].v))
              add(pos, ed[i].v), tmp = -1;
          }
        assert(tmp);
        for (int i = 1; i <= n; i++) vis[i] = 0;
        rt = pos, top = 0, dfs2(pos, 0), dfs2(pos, 0);
        if (top - 1 != n) {
          puts("Yes");
          for (int i = 1; i <= top; i++) vis[st[i]] = 2;
          printf("%d\n", n - (top - 1));
          for (int i = 1; i <= n; i++)
            if (vis[i] != 2) printf("%d ", i);
          puts("");
          goto end;
        }
      }
    }
    puts("No");
  end:;
  }
  return 0;
}
}  // namespace run
int main() { return run::main(); }