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 = 5000 * 100 + 5;
int n, m, a, b, c, av, bv, cv, t, h[N], cnt, par[N], y, ans[N], cntA, col,
    ca[N], o, uwu;
vector<int> adj[N], pa;
bool mark[N], vis[N], flag2, g[N];
void bfs(int v) {
  queue<int> q;
  par[v] = -1;
  q.push(v);
  flag2 = false;
  while (q.size() && !flag2) {
    v = q.front();
    q.pop();
    for (auto u : adj[v])
      if (!par[u]) {
        par[u] = v, q.push(u);
        if (adj[u].size() % 3 == 1 && !flag2) y = u, flag2 = true;
      }
  }
}
void dfs3(int v, int co, int p = -1) {
  pa.push_back(v);
  if (!flag2)
    for (auto u : adj[v])
      if (u == bv && u != p) {
        for (auto i : pa) vis[i] = true;
        flag2 = true, uwu++;
      }
  for (auto u : adj[v])
    if (u != p && !flag2 && ca[u] == co) dfs3(u, co, v), pa.pop_back();
}
void dfs(int v) {
  ca[v] = col;
  for (auto u : adj[v])
    if (!ca[u] && u != bv) dfs(u);
}
void dfs2(int v, int p = -1) {
  ans[cntA++] = v;
  g[v] = true;
  int l = 0;
  bool flag = false;
  for (auto u : adj[v])
    if (h[u] > h[l] && u != p) {
      l = u;
    }
  if (!cnt && l)
    for (int i = 0; i < cntA; i++) {
      if (l == ans[i]) flag = true;
      if (flag) mark[ans[i]] = true, cnt++;
    }
  for (auto u : adj[v])
    if (!cnt && !h[u] && adj[u].size() % 3 == 2)
      h[u] = h[v] + 1, dfs2(u, v), ans[--cntA] = 0;
}
int main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  cin >> t;
  for (o = 1; o <= t; o++) {
    cin >> n >> m;
    for (int i = 0, v, u; i < m; i++) {
      cin >> v >> u;
      adj[v].push_back(u);
      adj[u].push_back(v);
    }
    for (int i = 1; i <= n; i++) {
      if (adj[i].size() % 3 == 0)
        a++, av = i;
      else if (adj[i].size() % 3 == 1)
        b++, bv = i;
      else
        c++, cv = i;
    }
    if (a) {
      if (n == 1)
        cout << "NO\n";
      else {
        cout << "YES\n" << n - 1 << '\n';
        for (int i = 1; i <= n; i++)
          if (i != av) cout << i << ' ';
      }
    } else if (b > 1) {
      bfs(bv);
      while (par[y] != -1) mark[y] = true, y = par[y], cntA++;
      mark[y] = true, cntA++;
      if (cntA == n)
        cout << "NO\n";
      else {
        cout << "YES\n" << n - cntA << '\n';
        for (int i = 1; i <= n; i++)
          if (!mark[i]) cout << i << ' ';
        cout << '\n';
      }
    } else {
      fill(h, h + n + 1, 0);
      cnt = 0;
      for (int i = 1; i <= n; i++)
        if (!g[i] && adj[i].size() % 3 == 2) h[i] = 1, cntA = 0, dfs2(i);
      if (cnt == n)
        cout << "NO\n";
      else if (cnt) {
        cout << "YES\n" << n - cnt << '\n';
        for (int i = 1; i <= n; i++)
          if (!mark[i]) cout << i << ' ';
        cout << '\n';
      } else if (!cnt) {
        bool flag = true;
        if (b != 1) flag = false;
        if (adj[bv].size() < 4) flag = false;
        if (flag) {
          cntA = 0, flag2 = false, col = 1;
          fill(vis, vis + n + 1, false);
          fill(h, h + n + 1, 0);
          uwu = 0;
          for (int i = 1; i <= n; i++) {
            if (i != bv && !ca[i]) dfs(i), col++;
          }
          for (int i = 1; i < col && uwu < 2; i++) {
            cntA = 0, flag2 = false, pa.clear();
            dfs3(bv, i);
          }
          cnt = 0;
          for (int i = 1; i <= n; i++) {
            if (vis[i]) cnt++;
          }
          if (cnt == n || uwu != 2)
            cout << "NO\n";
          else {
            cout << "YES\n" << n - cnt << '\n';
            for (int i = 1; i <= n; i++)
              if (!vis[i]) cout << i << ' ';
            cout << '\n';
          }
        } else
          cout << "NO\n";
      }
    }
    for (int i = 0; i <= n; i++)
      adj[i].clear(), h[i] = par[i] = 0, vis[i] = mark[i] = false, ans[i] = 0,
                      g[i] = false, ca[i] = 0;
    a = b = c = av = bv = cv = 0, cnt = 0, y = 0, flag2 = false, cntA = 0;
  }
}