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 N = 1e6 + 7;
bool ans[N];
struct edg {
  int u, t;
} e[N];
int t, n, m;
vector<int> v[N];
namespace sub1 {
bool main() {
  for (int i = 1; i <= n; i++)
    if (v[i].size() % 3 == 0) {
      puts("Yes");
      ans[i] = 1;
      return 1;
    }
  return 0;
}
}  // namespace sub1
namespace sub2 {
bool main() {
  for (int i = 1; i <= n; i++)
    for (int j = 0; j < v[i].size(); j++) {
      if (v[v[i][j]].size() % 3 == 1 && v[i].size() % 3 == 1) {
        puts("Yes");
        ans[v[i][j]] = 1, ans[i] = 1;
        return 1;
      }
    }
  return 0;
}
}  // namespace sub2
namespace sub3 {
int f[N], q[N], st[N], pre[N];
vector<int> w[N];
bool og, fl[N];
int find(int u) {
  if (f[u] == u) return f[u];
  return f[u] = find(f[u]);
}
void getit() {
  int a = st[1], b = st[2];
  q[q[0] = 1] = a;
  for (int i = 1; i <= n; i++) pre[i] = -1;
  pre[a] = 0;
  for (int i = 1; i <= q[0]; i++) {
    int x = q[i];
    for (int j = 0; j < v[x].size(); j++) {
      if (v[v[x][j]].size() % 3 == 1 || (x == a && v[x][j] == b)) continue;
      int c = v[x][j];
      if (pre[c] == -1) pre[c] = x, q[++q[0]] = c;
    }
  }
  ans[b] = 1, ans[a] = 1;
  while (b != a) b = pre[b], ans[b] = 1;
}
void dfs1(int u, int x) {
  fl[u] = 1;
  if (u == x && st[0] < n) {
    puts("Yes"), og = 1, getit();
    return;
  }
  for (int i = 0; i < w[u].size(); i++)
    if (!fl[w[u][i]]) st[++st[0]] = w[u][i], dfs1(w[u][i], x), st[0]--;
}
bool main() {
  int x = 0, y = 0;
  og = 0;
  for (int i = 1; i <= n; i++)
    if (v[i].size() % 3 == 1) {
      if (x == 0)
        x = i;
      else
        y = i;
    }
  for (int i = 1; i <= n; i++) f[i] = i, w[i].resize(0), fl[i] = 0;
  st[0] = 0;
  for (int i = 1; i <= m; i++) {
    int a = e[i].u, b = e[i].t;
    if (v[a].size() % 3 != 2) continue;
    if (v[b].size() % 3 != 2) continue;
    if (a == x || b == x) continue;
    if (find(a) == find(b)) {
      st[++st[0]] = a, dfs1(a, b);
      if (og) return 1;
    } else {
      w[a].push_back(b), w[b].push_back(a), f[find(a)] = find(b);
    }
  }
  return 0;
}
}  // namespace sub3
namespace sub4 {
int a, b, c, f1[N], pos[N], fa[N];
inline void dfs(int u, int k) {
  if (f1[u]) pos[u] = u;
  fa[u] = k;
  for (int i = 0; i < v[u].size(); i++) {
    int x = v[u][i];
    if (v[x].size() % 3 == 1 || x == k) continue;
    dfs(x, u);
    if (f1[x]) {
      if (f1[u] != f1[x] && f1[u]) {
        a = pos[u], b = pos[x], c = u;
      } else if (f1[u] == 0)
        f1[u] = f1[x], pos[u] = pos[x];
    }
  }
}
bool main() {
  a = 0, b = 0, c = 0;
  int s1 = 0, s2 = 0;
  for (int i = 1; i <= n; i++) f1[i] = 0, fa[i] = 0;
  for (int i = 1; i <= n; i++) {
    if (v[i].size() % 3 == 1) continue;
    s1++;
    for (int j = 0; j < v[i].size(); j++)
      if (v[v[i][j]].size() % 3 == 2) s2++;
  }
  s2 /= 2;
  if (s1 <= s2) return 0;
  for (int i = 1; i <= n; i++) {
    if (v[i].size() % 3 == 1) continue;
    for (int j = 0; j < v[i].size(); j++)
      if (v[v[i][j]].size() % 3 == 1) {
        if (f1[i]) {
          if (n == 3) return 0;
          puts("Yes");
          ans[v[i][j]] = 1, ans[i] = 1, ans[f1[i]] = 1;
          return 1;
        }
        f1[i] = v[i][j];
      }
  }
  for (int i = 1; i <= n; i++)
    if (!fa[i] && v[i].size() % 3 == 2) dfs(i, 0);
  if (a > 0 && b > 0 && c > 0) {
    ans[c] = 1;
    ans[f1[a]] = 1, ans[f1[b]] = 1;
    while (a != c) ans[a] = 1, a = fa[a];
    while (b != c) ans[b] = 1, b = fa[b];
    int cnt = 0;
    for (int i = 1; i <= n; i++)
      if (ans[i]) cnt++;
    if (cnt == n) return 0;
    puts("Yes");
    return 1;
  }
  return 0;
}
}  // namespace sub4
namespace sub5 {
int x, y, z, st[N];
bool fg, ft[N], fl[N];
void dfs1(int u) {
  fl[u] = 1;
  int c = v[u].size();
  for (int i = 0; i < v[u].size(); i++) {
    if (v[u][i] == z) {
      c--;
      continue;
    }
    if (!fl[v[u][i]]) dfs1(v[u][i]);
  }
  if (c == 1) {
    if (!x)
      x = u;
    else
      y = u;
  }
}
void dfs2(int u, int fa) {
  if (st[0] > 1) {
    if (fg) return;
    bool fl = 0;
    for (int i = 0; i < v[u].size(); i++)
      if (v[u][i] == z) fl = 1;
    if (fl) {
      for (int i = 1; i <= st[0]; i++) ft[st[i]] = 1;
      fg = 1;
    }
  }
  for (int i = 0; i < v[u].size(); i++) {
    int x = v[u][i];
    if (x == fa || x == z) continue;
    st[++st[0]] = x, dfs2(x, u), st[0]--;
  }
}
bool main() {
  int a = 0, b = 0, s1 = 0, s2 = 0;
  fg = 0;
  for (int i = 1; i <= n; i++) {
    fl[i] = 0, ft[i] = 0;
    if (v[i].size() % 3 == 1) {
      if (a == 0)
        a = i;
      else
        b = i;
    }
  }
  for (int i = 1; i <= n; i++) {
    if (v[i].size() % 3 == 1) continue;
    s1++;
    for (int j = 0; j < v[i].size(); j++)
      if (v[v[i][j]].size() % 3 == 2) s2++;
  }
  s2 /= 2;
  if (s1 <= s2) return 0;
  if (b > 0 || a == 0) return 0;
  z = a;
  fl[z] = 1;
  ft[z] = 1;
  int cnt = 0;
  for (int i = 1; i <= n; i++) {
    if (fl[i]) continue;
    x = 0, y = 0, dfs1(i), fg = 0;
    st[++st[0]] = x, dfs2(x, 0), st[0]--;
    cnt++;
    if (cnt == 2) break;
  }
  cnt = 0;
  for (int i = 1; i <= n; i++)
    if (ft[i]) cnt++;
  if (cnt == n) return 0;
  puts("Yes");
  for (int i = 1; i <= n; i++)
    if (ft[i]) ans[i] = 1;
  return 1;
}
}  // namespace sub5
inline void solve() {
  int cnt = 0;
  for (int i = 1; i <= n; i++)
    if (!ans[i]) cnt++;
  printf("%d\n", cnt);
  for (int i = 1; i <= n; i++)
    if (!ans[i])
      printf("%d ", i);
    else
      ans[i] = 0;
  puts("");
}
int main() {
  cin >> t;
  int ct = 0;
  while (t--) {
    scanf("%d%d", &n, &m);
    int a, b;
    for (int i = 1; i <= n; i++) v[i].resize(0), ans[i] = 0;
    for (int i = 1; i <= m; i++)
      scanf("%d%d", &e[i].u, &e[i].t), v[e[i].u].push_back(e[i].t),
          v[e[i].t].push_back(e[i].u);
    ct++;
    if (n == 1 || n == 2) {
      puts("No");
      continue;
    }
    if (sub1::main()) {
      solve();
      continue;
    }
    if (sub2::main()) {
      solve();
      continue;
    }
    if (sub3::main()) {
      solve();
      continue;
    }
    if (sub4::main()) {
      solve();
      continue;
    }
    if (sub5::main()) {
      solve();
      continue;
    }
    puts("No");
  }
}