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 = 500010;
int t, n, m;
int color[MAXN], cycle[MAXN], level[MAXN];
int bfsvec[MAXN], count_cmp, bfsvec_cmp[MAXN];
bool found, mark_cmp[MAXN], have_edge[MAXN];
vector<int> edge[MAXN], cmp[MAXN];
void print(bool solvable, vector<int> ans = {}) {
  if (solvable && ans.size() < n && ans.size() > 0) {
    cout << "Yes" << endl;
    vector<bool> skipp(n + 1, false);
    for (int i : ans) skipp[i] = true;
    cout << n - ans.size() << endl;
    for (int i = 1; i <= n; i++)
      if (!skipp[i]) cout << i << " ";
    cout << endl;
  } else
    cout << "No" << endl;
}
bool less_id(const int& i, const int& j) { return level[i] > level[j]; }
void dfs_cyc(int v) {
  if (found) return;
  color[v] = 1;
  vector<int> p;
  for (int i : edge[v])
    if (color[i] == 1 && i != cycle[v] && edge[i].size() % 3 == 2)
      p.push_back(i);
  if (p.size()) {
    sort(p.begin(), p.end(), less_id);
    vector<int> ans;
    int tmp = v;
    found = true;
    while (tmp != p[0]) {
      ans.push_back(tmp);
      tmp = cycle[tmp];
    }
    ans.push_back(tmp);
    print(true, ans);
    return;
  }
  for (int i : edge[v])
    if (!color[i] && edge[i].size() % 3 == 2 && !p.size()) {
      cycle[i] = v;
      level[i] = level[v] + 1;
      dfs_cyc(i);
    }
  color[v] = 2;
}
void dfs_cmp(int v) {
  cmp[count_cmp].push_back(v);
  mark_cmp[v] = true;
  for (int i : edge[v])
    if (!mark_cmp[i] && edge[i].size() % 3 != 1) dfs_cmp(i);
}
void bfs_path(int v) {
  bfsvec[v] = v;
  queue<int> q;
  q.push(v);
  while (!q.empty()) {
    if (found) return;
    int u = q.front();
    q.pop();
    for (int i : edge[u]) {
      if (!bfsvec[i] && i != v) {
        bfsvec[i] = u;
        q.push(i);
        if (edge[i].size() % 3 == 1) {
          found = true;
          int tmp = i;
          vector<int> ans;
          while (tmp != v) {
            ans.push_back(tmp);
            tmp = bfsvec[tmp];
          }
          ans.push_back(tmp);
          print(true, ans);
          return;
        }
      }
    }
  }
}
vector<int> bfs_cmp(int x) {
  int v;
  for (int 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 (int i : edge[u]) {
      if (!bfsvec_cmp[i] && edge[i].size() % 3 != 1 && i != v) {
        bfsvec_cmp[i] = u;
        q.push(i);
        if (have_edge[i]) {
          vector<int> res;
          int tmp = i;
          while (tmp != v) {
            res.push_back(tmp);
            tmp = bfsvec_cmp[tmp];
          }
          res.push_back(tmp);
          return res;
        }
      }
    }
  }
}
int main() {
  ios::sync_with_stdio(false);
  cin >> t;
  while (t--) {
    cin >> n >> m;
    count_cmp = 0;
    for (int i = 1; i <= n; i++) {
      edge[i].clear();
      cmp[i].clear();
      color[i] = 0;
      cycle[i] = 0;
      bfsvec[i] = 0;
      have_edge[i] = 0;
      mark_cmp[i] = 0;
      bfsvec_cmp[i] = 0;
      level[i] = 0;
    }
    for (int i = 1; i <= m; i++) {
      int u, v;
      cin >> u >> v;
      edge[v].push_back(u);
      edge[u].push_back(v);
    }
    if (n <= 3) {
      print(false);
      continue;
    }
    found = false;
    for (int i = 1; i <= n; i++)
      if (edge[i].size() % 3 == 0) {
        vector<int> ans;
        ans.push_back(i);
        print(true, ans);
        found = true;
        break;
      }
    if (found) continue;
    for (int i = 1; i <= n; i++)
      if (edge[i].size() % 3 == 2 && cycle[i] == 0) {
        dfs_cyc(i);
      }
    if (found) continue;
    int k1_1 = 0, cnt3k1 = 0;
    for (int i = 1; i <= n; i++)
      if (edge[i].size() % 3 == 1) {
        k1_1 = i;
        cnt3k1++;
      }
    if (k1_1 && cnt3k1 > 1) bfs_path(k1_1);
    if (found) continue;
    for (int i = 1; i <= n; i++)
      if (edge[i].size() % 3 != 1 && !mark_cmp[i]) count_cmp++, dfs_cmp(i);
    if (count_cmp == 1) {
      print(false);
      continue;
    }
    for (int i : edge[k1_1]) have_edge[i] = true;
    vector<int> infirst = bfs_cmp(1), insecond = bfs_cmp(2);
    vector<int> ans;
    for (int i : infirst) ans.push_back(i);
    for (int i : insecond) ans.push_back(i);
    ans.push_back(k1_1);
    print(true, ans);
  }
  return 0;
}