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 long long N = 5e5 + 10, LOG = 8, M = 1e2 + 10, INF = 1e18 + 10, sn = 320,
                MOD = 1e9 + 7;
void db(string s) { cout << s << "<" << endl; }
void di(int n) { cout << n << "<" << endl; }
vector<int> adj[N], e[N], finally;
bool vis[N], ar1[N], ar2[N];
int prv[N], c[N], u[N], v[N], sad[N], n, m;
int find(int u) {
  if (sad[u] ^ u) sad[u] = find(sad[u]);
  return sad[u];
}
bool join(int u, int v) {
  u = find(u);
  v = find(v);
  if (u == v) return 1;
  sad[u] = v;
  return 0;
}
queue<int> q;
int d[N];
void bfs(int v) {
  for (int i = 1; i <= n; i++) d[i] = MOD;
  d[v] = 0;
  q.push(v);
  while (!q.empty()) {
    int cur = q.front();
    q.pop();
    for (auto newi : adj[cur])
      if (d[newi] > d[cur] + 1) {
        d[newi] = d[cur] + 1;
        prv[newi] = cur;
        if (c[newi] ^ 1) q.push(newi);
      }
  }
}
vector<int> f1, f2;
void dfs(int v) {
  if (f1.size() == 1 && sad[v] == sad[f1[0]] && v ^ f1[0] && ar1[v])
    f1.push_back(v);
  if (f2.size() == 1 && sad[v] == sad[f2[0]] && v ^ f2[0] && ar1[v])
    f2.push_back(v);
  for (auto cur : adj[v])
    if (!vis[cur] && c[cur] == 2) {
      vis[cur] = 1;
      prv[cur] = v;
      dfs(cur);
    }
}
int par[N], c1, c2;
void dfs1(int ver, int p) {
  vis[ver] = 1;
  for (auto cur : adj[ver]) {
    if (cur == p || c[cur] ^ 2)
      continue;
    else if (vis[cur] && d[cur] < d[ver]) {
      if (c1 == -1)
        c1 = cur, c2 = ver;
      else if (d[cur] > d[c1] || d[cur] == d[c1] && d[ver] < d[c2])
        c1 = cur, c2 = ver;
    } else if (!vis[cur]) {
      d[cur] = d[ver] + 1;
      par[cur] = ver;
      dfs1(cur, ver);
    }
  }
}
void something(int x) {
  dfs1(x, 0);
  while (c2 ^ c1) {
    finally.push_back(c2);
    c2 = par[c2];
  }
  finally.push_back(c1);
  sort(finally.begin(), finally.end());
  reverse(finally.begin(), finally.end());
  for (auto cur : finally) ar1[cur] = 1;
  int cnt = 0;
  for (int i = 1; i <= m; i++)
    if (ar1[u[i]] && ar1[v[i]]) cnt++;
  cout << n - finally.size() << '\n';
  for (int j = 1; j <= n; j++)
    if (!finally.empty() && j == finally.back())
      finally.pop_back();
    else
      cout << j << ' ';
  cout << '\n';
}
void pain() {
  cin >> n >> m;
  c1 = c2 = -1;
  f1.clear();
  f2.clear();
  for (int i = 1; i <= n; i++) {
    adj[i].clear();
    e[i].clear();
    vis[i] = ar1[i] = par[i] = d[i] = 0;
  }
  for (int i = 1; i <= m; i++) {
    cin >> u[i] >> v[i];
    adj[u[i]].push_back(v[i]);
    adj[v[i]].push_back(u[i]);
  }
  for (int i = 1; i <= n; i++) c[i] = adj[i].size() % 3;
  bool b = 1;
  for (int i = 1; i <= n; i++)
    if (adj[i].size() > 2) b = 0;
  if (b) {
    cout << "No\n";
    return;
  }
  finally.clear();
  for (int i = 1; i <= n; i++) {
    if (c[i] == 0) {
      cout << "Yes\n" << n - 1 << '\n';
      for (int j = 1; j <= n; j++)
        if (i ^ j) cout << j << ' ';
      cout << '\n';
      return;
    }
  }
  for (int i = 1; i <= m; i++) {
    if (c[u[i]] == 1 && c[v[i]] == 1) {
      cout << "Yes\n" << n - 2 << '\n';
      for (int j = 1; j <= n; j++)
        if (u[i] ^ j && v[i] ^ j) cout << j << ' ';
      cout << '\n';
      return;
    }
  }
  for (int i = 1; i <= n; i++) sad[i] = i;
  for (int i = 1; i <= m; i++) {
    if (c[u[i]] == 1 || c[v[i]] == 1) continue;
    if (join(u[i], v[i])) {
      cout << "Yes\n";
      something(u[i]);
      return;
    }
  }
  for (int i = 1; i <= m; i++) {
    if (c[u[i]] == 1)
      e[find(v[i])].push_back(u[i]);
    else if (c[v[i]] == 1)
      e[find(u[i])].push_back(v[i]);
  }
  for (int i = 1; i <= n; i++) {
    if (c[i] == 1) continue;
    sort(e[i].begin(), e[i].end());
    e[i].erase(unique(e[i].begin(), e[i].end()), e[i].end());
    if (e[i].size() >= 2) {
      vis[e[i][0]] = 1;
      bfs(e[i][0]);
      while (e[i][1] ^ e[i][0]) {
        finally.push_back(e[i][1]);
        e[i][1] = prv[e[i][1]];
      }
      finally.push_back(e[i][0]);
      sort(finally.begin(), finally.end());
      reverse(finally.begin(), finally.end());
      cout << "Yes\n" << n - finally.size() << '\n';
      for (int j = 1; j <= n; j++) {
        if (!finally.empty() && j == finally.back())
          finally.pop_back();
        else
          cout << j << ' ';
      }
      cout << '\n';
      return;
    }
  }
  int cnt = 0;
  for (int i = 1; i <= n; i++) cnt += (c[i] == 1);
  for (int i = 1; i <= n; i++) {
    if (c[i] ^ 1) continue;
    for (auto cur : adj[i]) {
      ar1[cur] = 1;
      if (f1.empty())
        f1.push_back(cur);
      else if (f2.empty() && sad[f1[0]] ^ sad[cur])
        f2.push_back(cur);
    }
    vis[f1[0]] = vis[f2[0]] = 1;
    dfs(f1[0]);
    dfs(f2[0]);
    while (f1[1] ^ f1[0]) {
      finally.push_back(f1[1]);
      f1[1] = prv[f1[1]];
    }
    finally.push_back(f1[0]);
    while (f2[1] ^ f2[0]) {
      finally.push_back(f2[1]);
      f2[1] = prv[f2[1]];
    }
    finally.push_back(f2[0]);
    finally.push_back(i);
    sort(finally.begin(), finally.end());
    reverse(finally.begin(), finally.end());
    if (finally.size() == n) {
      cout << "No\n";
      return;
    }
    cout << "Yes\n" << n - finally.size() << '\n';
    for (int j = 1; j <= n; j++) {
      if (!finally.empty() && j == finally.back())
        finally.pop_back();
      else
        cout << j << ' ';
    }
    cout << '\n';
    return;
  }
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int azab;
  cin >> azab;
  while (azab--) pain();
  cin >> n;
}