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 = 5e5 + 10, inf = N;
vector<int> adj[N], vec, topo, comp;
bool ok = false, mark[N];
vector<int> ans;
int deg[N], dist[N], par[N], vis[N], n, m;
vector<vector<int> > tree;
int root;
void cleaner() {
  for (int i = 0; i < n; i++) {
    adj[i].clear();
    dist[i] = 0, par[i] = 0, deg[i] = 0, vis[i] = false, mark[i] = false;
    ;
  }
  ok = false;
  ans.clear(), topo.clear(), vec.clear(), tree.clear(), comp.clear();
  return;
}
void input() {
  cin >> n >> m;
  cleaner();
  for (int i = 0; i < m; i++) {
    int v, u;
    cin >> v >> u;
    v--, u--;
    adj[v].push_back(u), adj[u].push_back(v);
    deg[v]++, deg[u]++;
  }
  for (int i = 0; i < n; i++) sort(adj[i].begin(), adj[i].end());
}
void print() {
  ok = true;
  if (ans.empty() || ans.size() == n) {
    cout << "No\n";
    return;
  }
  cout << "Yes\n";
  for (int i = 0; i < ans.size(); i++) {
    mark[ans[i]] = true;
  }
  cout << n - (int)ans.size() << "\n";
  for (int i = 0; i < n; i++) {
    if (!mark[i]) cout << i + 1 << " ";
  }
  cout << "\n";
}
void mod3k_0() {
  for (int i = 0; i < n; i++) {
    if (deg[i] % 3 == 0) {
      ans.push_back(i);
      ok = true;
      print();
      return;
    }
  }
}
void bfs(int v, int rt = n) {
  fill(dist, dist + n, inf);
  queue<int> q;
  dist[v] = 0;
  dist[rt] = 0;
  q.push(v);
  while (!q.empty()) {
    v = q.front();
    q.pop();
    for (auto u : adj[v]) {
      if (dist[u] == inf) {
        par[u] = v;
        dist[u] = dist[v] + 1;
        q.push(u);
      }
    }
  }
}
void dfs(int v, int p = -1) {
  dist[v] = topo.size();
  comp.push_back(v), topo.push_back(v);
  vis[v] = true;
  int len = n;
  for (auto u : adj[v]) {
    if (deg[u] % 3 == 2) {
      if (u == p || !vis[u]) continue;
      if (dist[u] < dist[v] && (len == n || dist[u] > dist[len])) len = u;
    }
  }
  if (len < n) {
    for (int i = dist[len]; i < topo.size(); i++) ans.push_back(topo[i]);
    print();
    return;
  } else {
    for (auto u : adj[v]) {
      if (u == p) continue;
      if (deg[u] % 3 == 2 && !vis[u]) {
        dfs(u, v);
        if (ok) return;
      }
    }
  }
  topo.pop_back();
}
void p121() {
  for (int i = 0; i < n; i++) {
    int len = n;
    if (deg[i] % 3 == 1) {
      bfs(i);
      for (int j = i + 1; j < n; j++) {
        if (deg[j] % 3 == 1 && (len == n || dist[j] < dist[len])) len = j;
      }
    }
    if (len != n) {
      ans.push_back(len);
      while (i != len) ans.push_back(par[len]), len = par[len];
      print();
      return;
    }
  }
}
void lca(vector<int> p) {
  fill(mark, mark + n, false);
  int rt = p[0], v = p[1];
  bfs(rt, root);
  for (auto u : p)
    if (dist[u] && dist[u] < dist[v]) v = u;
  ans.push_back(v);
  while (v != rt) ans.push_back(v = par[v]);
}
void solve() {
  input();
  if (n <= 3) {
    print();
    return;
  }
  if (ok) return;
  mod3k_0();
  if (ok) return;
  p121();
  if (ok) return;
  fill(dist, dist + n, 0);
  for (int i = 0; i < n; i++) {
    if (deg[i] % 3 == 2 && !vis[i]) {
      topo.clear(), comp.clear();
      dfs(i);
      if (ok) return;
      tree.push_back(comp);
    }
  }
  ans.clear();
  if (tree.size() < 2) {
    print();
    return;
  }
  if (ok) return;
  for (int i = 0; i < n; i++) {
    if (deg[i] % 3 == 1 && !vis[i]) root = i;
  }
  vector<int> l[2];
  for (int j = 0; j < 2; j++) {
    for (int i = 0; i < tree[j].size(); i++) {
      if (binary_search(adj[root].begin(), adj[root].end(), tree[j][i]))
        l[j].push_back(tree[j][i]);
    }
  }
  if (max(tree.size(), max(l[0].size(), l[1].size())) == 2) {
    ans.clear();
    print();
    return;
  }
  if (ok) return;
  ans.push_back(root);
  fill(par, par + n, 0);
  fill(dist, dist + n, inf);
  lca(l[0]), lca(l[1]);
  print();
  return;
}
int main() {
  int tc;
  cin >> tc;
  while (tc--) solve();
}