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;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
const int maxn = 5e5 + 10;
const long long mod = 1e9 + 7;
long long pw(long long a, long long b, long long md = mod) {
  long long res = 1;
  while (b) {
    if (b & 1) {
      res = (a * res) % md;
    }
    a = (a * a) % md;
    b >>= 1;
  }
  return (res);
}
int q, d[maxn], n, m, srt[maxn];
vector<int> adj[maxn];
int par[maxn], mark[maxn];
int dook[maxn], cnt;
queue<int> qu;
vector<int> ans;
int D[maxn], h[maxn];
void print() {
  cnt++;
  for (auto u : ans) dook[u] = cnt;
  cout << "Yes" << '\n';
  cout << n - int(ans.size()) << '\n';
  assert(int(ans.size()) < n);
  for (int i = 1; i <= n; i++) D[i] = d[i];
  for (int i = 1; i <= n; i++) {
    if (dook[i] ^ cnt) {
      cout << i << ' ';
      for (auto u : adj[i]) d[u] += 2;
    }
  }
  for (int i = 1; i <= n; i++) {
    d[i] %= 3;
    if (dook[i] == cnt) assert(d[i] == D[i]);
  }
  cout << '\n';
}
bool chk0() {
  bool ok = 0;
  for (int i = 1; i <= n; i++)
    if (d[i] == 0) ok = 1;
  if (ok) {
    ans.clear();
    for (int i = 1; i <= n; i++)
      if (d[i] == 0) {
        ans.push_back(i);
        print();
        return 1;
      }
  }
  return 0;
}
bool dfsC(int v) {
  mark[v] = 1;
  int id = 0;
  for (auto u : adj[v])
    if (d[u] == 2 and u ^ par[v] and mark[u] and (!id || h[u] > h[id])) id = u;
  if (id) {
    ans.push_back(id);
    while (v ^ id) ans.push_back(v), v = par[v];
    return 1;
  }
  for (auto u : adj[v])
    if (d[u] == 2 and u ^ par[v] and !mark[u]) {
      par[u] = v;
      h[u] = h[v] + 1;
      if (dfsC(u)) return 1;
    }
  return 0;
}
bool chkC() {
  for (int i = 1; i <= n; i++) par[i] = 0, mark[i] = 0, h[i] = 0;
  cnt++;
  for (int i = 1; i <= n; i++) {
    if (d[srt[i]] ^ 2) return 0;
    ans.clear();
    if (!mark[srt[i]] and dfsC(srt[i])) {
      if (ans.size() == n) {
        if (m == n) return 0;
        pair<int, int> psps = {-1, -1};
        for (int j = 0; j < n; j++)
          if (int(adj[ans[j]].size()) > 2) {
            int x = ans[j];
            for (auto u : adj[x])
              if (u != ans[(j + 1) % n] and u != ans[((j - 1 + n) % n)]) {
                psps = pair<int, int>(j, u);
              }
          }
        if (psps == pair<int, int>(-1, -1)) return 0;
        vector<int> tmp;
        for (int j = psps.first;; j = (j + 1) % n) {
          tmp.push_back(ans[j]);
          if (ans[j] == psps.second) break;
        }
        swap(ans, tmp);
      }
      print();
      return 1;
    }
  }
  return 0;
}
bool chkP() {
  int cnt1 = 0;
  for (int i = 1; i <= n; i++) cnt1 += d[i] == 1;
  if (cnt1 == 2 and m == n - 1) return 0;
  if (cnt1 < 2) return 0;
  cnt++;
  for (int i = 1; i <= n; i++) par[i] = 0, mark[i] = 0;
  while (!qu.empty()) qu.pop();
  ans.clear();
  for (int i = 1; i <= n; i++) {
    if (d[i] == 1) {
      qu.push(i), mark[i] = cnt;
      break;
    }
  }
  while (qu.size()) {
    int v = qu.front();
    qu.pop();
    for (auto u : adj[v])
      if (mark[u] ^ cnt) {
        par[u] = v;
        qu.push(u);
        mark[u] = cnt;
        if (d[u] == 1) {
          while (u) ans.push_back(u), u = par[u];
          while (qu.size()) qu.pop();
          break;
        }
      }
  }
  print();
  return 1;
}
void dfs(int v) {
  mark[v] = 1;
  if (dook[v] == cnt) {
    ans.push_back(v);
    cnt++;
    mark[v] = 2;
  }
  for (auto u : adj[v])
    if (!mark[u]) {
      dfs(u);
      if (mark[u] == 2) mark[v] = 2, ans.push_back(v);
    }
}
bool chkT(int v) {
  for (int i = 1; i <= n; i++) mark[i] = 0, par[i] = 0;
  ans.clear();
  mark[v] = 1;
  cnt++;
  int res = 0;
  for (auto u : adj[v]) dook[u] = cnt;
  for (auto u : adj[v])
    if (!mark[u] and (int) adj[u].size() - 1 == 1 and res ^ 2) {
      res++;
      dook[u] = cnt - 1;
      dfs(u);
      cnt--;
    }
  ans.push_back(v);
  if (ans.size() == n) return 0;
  print();
  return 1;
}
int32_t main() {
  ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  cin >> q;
  for (int Q = 0; Q < q; Q++) {
    cin >> n >> m;
    for (int i = 1; i <= n; i++) d[i] = 0, adj[i].clear(), srt[i] = i;
    ;
    for (int i = 1; i <= m; i++) {
      int u, v;
      cin >> u >> v;
      adj[u].push_back(v), adj[v].push_back(u);
      d[u]++, d[v]++;
    }
    if (n == 1) {
      cout << "No" << '\n';
      continue;
    }
    for (int i = 1; i <= n; i++) d[i] %= 3;
    sort(srt + 1, srt + n + 1, [](int i, int j) { return d[i] > d[j]; });
    if (chk0()) continue;
    if (chkP()) continue;
    int cnt1 = 0;
    for (int i = 1; i <= n; i++)
      if (d[i] == 1) cnt1++;
    if (cnt1 == 2 and m == n - 1) {
      cout << "No" << '\n';
      continue;
    }
    if (chkC()) continue;
    if (cnt1 == 0) {
      cout << "No" << '\n';
      continue;
    }
    int v = 0;
    for (int i = 1; i <= n; i++)
      if (d[i] == 1) v = i;
    if (chkT(v)) continue;
    cout << "No" << '\n';
  }
  return (0);
}