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;
long long power(long long a, long long b, long long md) {
  return (!b ? 1
             : (b & 1 ? a * power(a * a % md, b / 2, md) % md
                      : power(a * a % md, b / 2, md) % md));
}
const int xn = 5e5 + 10;
const int xm = -20 + 10;
const int sq = 320;
const int inf = 1e9 + 10;
const long long INF = 1e18 + 10;
const long double eps = 1e-15;
const int mod = 1e9 + 7;
const int base = 257;
int qq, n, m, d[xn], par[xn], H[xn], col[xn], ptr, last, ted, sts, dist[xn];
pair<int, int> mn;
vector<int> adj[xn], ans, vec, vc2, dgs;
queue<int> q;
bool mark[xn], flag, f[xn];
void DFS3(int v, int c) {
  mark[v] = true;
  vec.push_back(v);
  col[v] = c;
  for (int u : adj[v]) {
    if (u == par[v] || d[u] % 3 == 1) continue;
    par[u] = v;
    H[u] = H[v] + 1;
    DFS3(u, c);
  }
}
void DFS2(int v) {
  if (d[v] % 3 == 1 && par[v] + 1 && !flag) {
    flag = true;
    int res = v;
    while (par[res] + 1) ans.push_back(res), res = par[res];
    ans.push_back(res);
  }
  mark[v] = true;
  for (int u : adj[v])
    if (!mark[u]) par[u] = v, DFS2(u);
}
void DFS(int v) {
  mark[v] = true;
  for (int u : adj[v]) {
    if (u == par[v] || d[u] % 3 == 1) continue;
    if (mark[u]) {
      if (H[v] < H[u] + 2) continue;
      if (mn.first == -1 || H[v] - H[u] < H[mn.first] - H[mn.second])
        mn = {v, u};
      continue;
    }
    par[u] = v;
    H[u] = H[v] + 1;
    DFS(u);
  }
}
void add(int v, int u) {
  if (H[u] < H[v]) swap(v, u);
  while (H[v] < H[u]) ans.push_back(u), u = par[u];
  while (v != u) {
    ans.push_back(v);
    ans.push_back(u);
    v = par[v], u = par[u];
  }
  ans.push_back(v);
}
void check() {
  if (int(ans.size()) == 0 || int(ans.size()) == n) {
    cout << "No" << '\n';
    return;
  }
  cout << "Yes" << '\n';
  fill(f, f + n + 1, false);
  for (int v : ans) f[v] = true;
  cout << n - int(ans.size()) << '\n';
  for (int i = 1; i <= n; ++i)
    if (!f[i]) cout << i << ' ';
  for (int i = 1; i <= n; ++i) {
    if (!f[i]) continue;
    int x = 0;
    for (int u : adj[i]) x += f[u];
    if (x % 3 != d[i] % 3 && ptr == 2 && sts == -1) assert(0);
  }
  cout << '\n';
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  cin >> qq;
  while (qq--) {
    cin >> n >> m;
    for (int i = 1; i <= n; ++i) adj[i].clear(), d[i] = 0;
    ans.clear();
    dgs.clear();
    sts = -1;
    while (m--) {
      int v, u;
      cin >> v >> u;
      adj[v].push_back(u);
      adj[u].push_back(v);
      ++d[v], ++d[u];
    }
    last = -1;
    for (int i = 1; i <= n; ++i)
      if (d[i] % 3 == 0) last = i;
    if (last + 1) {
      ans.push_back(last);
      check();
      continue;
    }
    fill(mark, mark + n + 1, false);
    fill(par, par + n + 1, -1);
    flag = false;
    fill(H, H + n + 1, 0);
    mn = {-1, -1};
    for (int i = 1; i <= n; ++i)
      if (!mark[i] && d[i] % 3 == 2) DFS(i);
    if (mn.first + 1) {
      int res = mn.first;
      while (res != mn.second) ans.push_back(res), res = par[res];
      ans.push_back(res);
      sts = 2;
      check();
      continue;
    }
    last = -1, ted = 0;
    for (int i = 1; i <= n; ++i)
      if (d[i] % 3 == 1) last = i, ++ted;
    fill(par, par + n + 1, -1);
    fill(mark, mark + n + 1, false);
    fill(dist, dist + n + 1, -1);
    dist[last] = 0, q.push(last);
    while (int(q.size())) {
      int v = q.front();
      q.pop();
      if (v != last && d[v] % 3 == 1 && !flag) {
        flag = true;
        int res = v;
        while (res != last) ans.push_back(res), res = par[res];
        ans.push_back(res);
      }
      for (int u : adj[v])
        if (dist[u] == -1) q.push(u), dist[u] = dist[v] + 1, par[u] = v;
    }
    if (flag) {
      check();
      continue;
    }
    fill(f, f + n + 1, false);
    for (int u : adj[last]) f[u] = true;
    fill(par, par + n + 1, -1);
    fill(mark, mark + n + 1, false);
    fill(col + 1, col + n + 1, 0);
    ptr = 0;
    sts = 1;
    for (int i = 1; i <= n; ++i) {
      if (mark[i] || i == last) continue;
      H[i] = 0;
      ++ptr;
      vec.clear();
      DFS3(i, ptr);
      ted = 0;
      for (int v : vec) ted += f[v];
      dgs.push_back(ted);
      if (ted % 3 == 1) {
        flag = true;
        for (int v : vec) ans.push_back(v);
        ans.push_back(last);
        break;
      }
      if (ted % 3 == 0) {
        fill(f, f + n + 1, false);
        for (int v : vec) f[v] = true;
        for (int j = 1; j <= n; ++j)
          if (!f[j]) ans.push_back(j);
        flag = true;
        break;
      }
      if (2 < ted) {
        vc2.clear();
        for (int v : vec)
          if (f[v]) vc2.push_back(v);
        add(vc2[0], vc2[1]);
        fill(f, f + n + 1, false);
        for (int v : vec) f[v] = true;
        for (int j = 1; j <= n; ++j)
          if (!f[j]) ans.push_back(j);
        flag = true;
        break;
      }
    }
    if (flag) {
      check();
      continue;
    }
    if (2 < ptr) {
      ans.push_back(last);
      for (int i = 1; i <= n; ++i)
        if (col[i] < 3 && i != last) ans.push_back(i);
      check();
      continue;
    }
    cout << "No" << '\n';
  }
  return 0;
}