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 MAXN = 5 * 100 * 1000 + 17;
int t, n, m, col[MAXN], par_cyc[MAXN], par_bfs[MAXN], cnt_cmp,
    par_bfs_cmp[MAXN], lev[MAXN];
bool isAns[MAXN], hasFindedAns, mark_cmp[MAXN], have_edge[MAXN];
vector<int> adj[MAXN], cmp[MAXN], trash;
void output(bool flag, vector<int> ans = trash) {
  if (flag && ans.size() < n && ans.size() > 0) {
    cout << "Yes" << endl;
    for (auto i : ans) isAns[i] = true;
    cout << n - ans.size() << endl;
    for (int i = 1; i <= n; i++)
      if (!isAns[i]) cout << i << " ";
    cout << endl;
  } else
    cout << "No" << endl;
}
void dfs_cyc(int v) {
  if (hasFindedAns) return;
  col[v] = 1;
  vector<int> p;
  for (auto i : adj[v])
    if (col[i] == 1 && i != par_cyc[v] && adj[i].size() % 3 == 2)
      p.push_back(i);
  if (p.size()) {
    sort(p.begin(), p.end(), [](int i, int j) { return lev[i] > lev[j]; });
    vector<int> ans;
    int tmp = v;
    hasFindedAns = true;
    while (tmp != p[0]) {
      ans.push_back(tmp);
      tmp = par_cyc[tmp];
    }
    ans.push_back(tmp);
    output(true, ans);
    return;
  }
  for (auto i : adj[v]) {
    if (hasFindedAns) return;
    if (col[i] == 1 && i != par_cyc[v] && adj[i].size() % 3 == 2)
      p.push_back(i);
    else if (!col[i] && adj[i].size() % 3 == 2 && !p.size())
      par_cyc[i] = v, lev[i] = lev[v] + 1, dfs_cyc(i);
  }
  col[v] = 2;
}
void bfs_path(int v) {
  queue<int> q;
  q.push(v);
  par_bfs[v] = v;
  while (!q.empty()) {
    if (hasFindedAns) return;
    int u = q.front();
    q.pop();
    for (auto i : adj[u])
      if (!par_bfs[i] && i != v) {
        par_bfs[i] = u;
        q.push(i);
        if (adj[i].size() % 3 == 1) {
          hasFindedAns = true;
          int tmp = i;
          vector<int> ans;
          while (tmp != v) {
            ans.push_back(tmp);
            tmp = par_bfs[tmp];
          }
          ans.push_back(tmp);
          output(true, ans);
          return;
        }
      }
  }
}
void dfs_cmp(int v) {
  cmp[cnt_cmp].push_back(v);
  mark_cmp[v] = true;
  for (auto i : adj[v])
    if (!mark_cmp[i] && adj[i].size() % 3 != 1) dfs_cmp(i);
}
vector<int> bfs_cmp(int x) {
  int v;
  for (auto i : cmp[x])
    if (have_edge[i]) v = i;
  queue<int> q;
  q.push(v);
  while (!q.empty()) {
    int u = q.front();
    q.pop();
    for (auto i : adj[u])
      if (!par_bfs_cmp[i] && adj[i].size() % 3 != 1 && i != v) {
        par_bfs_cmp[i] = u;
        q.push(i);
        if (have_edge[i]) {
          vector<int> res;
          int tmp = i;
          while (tmp != v) {
            res.push_back(tmp);
            tmp = par_bfs_cmp[tmp];
          }
          res.push_back(tmp);
          return res;
        }
      }
  }
}
int main() {
  ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  cin >> t;
  while (t--) {
    cin >> n >> m;
    cnt_cmp = 0;
    for (int i = 1; i <= n; i++)
      adj[i].clear(), cmp[i].clear(),
          isAns[i] = 0, col[i] = 0, par_cyc[i] = 0, par_bfs[i] = 0,
          have_edge[i] = 0, mark_cmp[i] = 0, par_bfs_cmp[i] = 0, lev[i] = 0;
    for (int i = 1; i <= m; i++) {
      int v, u;
      cin >> v >> u;
      adj[v].push_back(u);
      adj[u].push_back(v);
    }
    if (n <= 3) {
      output(false);
      continue;
    }
    hasFindedAns = false;
    for (int i = 1; i <= n; i++)
      if (adj[i].size() % 3 == 0) {
        vector<int> ans;
        ans.push_back(i);
        output(true, ans);
        hasFindedAns = true;
        break;
      }
    if (hasFindedAns) continue;
    int k2 = 0;
    for (int i = 1; i <= n; i++)
      if (adj[i].size() % 3 == 2 && par_cyc[i] == 0) {
        k2 = i;
        dfs_cyc(i);
      }
    if (hasFindedAns) continue;
    int k1_1 = 0, cnt3k1 = 0;
    for (int i = 1; i <= n; i++)
      if (adj[i].size() % 3 == 1) {
        k1_1 = i;
        cnt3k1++;
      }
    if (k1_1 && cnt3k1 > 1) bfs_path(k1_1);
    if (hasFindedAns) continue;
    for (int i = 1; i <= n; i++)
      if (adj[i].size() % 3 != 1 && !mark_cmp[i]) cnt_cmp++, dfs_cmp(i);
    if (cnt_cmp == 1) {
      output(false);
      continue;
    }
    for (auto i : adj[k1_1]) have_edge[i] = true;
    vector<int> inFi = bfs_cmp(1), inSe = bfs_cmp(2);
    vector<int> ans;
    for (auto i : inFi) ans.push_back(i);
    for (auto i : inSe) ans.push_back(i);
    ans.push_back(k1_1);
    output(true, ans);
  }
  return 0;
}