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 = 5e5 + 10, mod = 1e9 + 7;
const long long inf = 1e18;
bool in[maxn], mark[maxn];
vector<int> v[maxn], vec;
int n, m;
int pr[maxn];
void compon(int u) {
  in[u] = 1;
  for (int y : v[u])
    if (in[y] == 0) compon(y);
}
void componm(int u) {
  mark[u] = 1;
  for (int y : v[u])
    if (int((v[y]).size()) % 3 == 2 && mark[y] == 0) componm(y);
}
int h[maxn];
bool cycle(int u, int par = -1) {
  h[u] = par == -1 ? 0 : (h[par] + 1);
  pr[u] = par;
  mark[u] = 1;
  int tp = -1;
  for (int y : v[u]) {
    if (int((v[y]).size()) % 3 == 1) continue;
    if (mark[y] && y != par) {
      if (tp == -1 || h[tp] < h[y]) tp = y;
    }
  }
  if (tp != -1) {
    int tmp = u;
    while (tmp != tp) in[tmp] = 1, tmp = pr[tmp];
    in[tp] = 1;
    return 1;
  }
  for (int y : v[u]) {
    if (int((v[y]).size()) % 3 == 1) continue;
    if (mark[y] == 0) {
      if (cycle(y, u)) return 1;
    }
  }
  return 0;
}
bool path(int src) {
  queue<int> q;
  q.push(src);
  mark[src] = 1;
  while (int((q).size())) {
    int u = q.front();
    q.pop();
    if (u != src && int((v[u]).size()) % 3 == 1) {
      int tmp = u;
      while (tmp != src) in[tmp] = 1, tmp = pr[tmp];
      in[src] = 1;
      return 1;
    }
    for (int y : v[u]) {
      if (mark[y] == 0) mark[y] = 1, pr[y] = u, q.push(y);
    }
  }
  return 0;
}
bool dis(int u, int par = -1) {
  pr[u] = par;
  mark[u] = 1;
  if (par != -1 && int((v[u]).size()) >= 3) {
    int tmp = u;
    while (tmp != -1) vec.push_back(tmp), tmp = pr[tmp];
    return 1;
  }
  for (int y : v[u]) {
    if (int((v[y]).size()) % 3 == 2 && mark[y] == 0) {
      if (dis(y, u)) return 1;
    }
  }
  return 0;
}
void go(int u, int par = -1) {
  for (int y : v[u]) {
    if (y == par || int((v[y]).size()) % 3 == 1) continue;
    go(y, u);
  }
  in[u] = 1;
}
bool fnd(int u, int par = -1) {
  bool way = 0;
  for (int y : v[u]) {
    way |= int((v[y]).size()) % 3 == 1;
  }
  for (int y : v[u]) {
    if (y == par || int((v[y]).size()) % 3 == 1) continue;
    if (fnd(y, u)) return 1;
  }
  int cnt = 0;
  for (int y : v[u]) {
    if (y == par || int((v[y]).size()) % 3 == 1) continue;
    if (++cnt == 2 - way) break;
  }
  if (cnt == 2 - way) {
    cnt = 0;
    in[u] = 1;
    for (int y : v[u]) {
      if (y == par || int((v[y]).size()) % 3 == 1) continue;
      go(y, u);
      if (++cnt == 2 - way) break;
    }
    return 1;
  }
  return 0;
}
void solve() {
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    v[i].clear();
    in[i] = 0;
  }
  for (int i = 0; i < m; i++) {
    int a, b;
    cin >> a >> b;
    v[--a].push_back(--b);
    v[b].push_back(a);
  }
  for (int i = 0; i < n; i++) {
    if (int((v[i]).size()) % 3 == 0) {
      in[i] = 1;
      return;
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j : v[i]) {
      if ((int((v[i]).size()) % 3 == 1) && (int((v[j]).size()) % 3 == 1)) {
        in[i] = in[j] = 1;
        return;
      }
    }
  }
  compon(0);
  for (int i = 0; i < n; i++) {
    if (in[i] == 0) return;
  }
  fill(in, in + n, 0);
  fill(mark, mark + n, 0);
  for (int i = 0; i < n; i++) {
    if ((int((v[i]).size()) % 3) == 2 && mark[i] == 0 && cycle(i)) return;
  }
  int id = -1;
  for (int i = 0; i < n; i++) {
    if (int((v[i]).size()) % 3 == 1) id = i;
  }
  if (id == -1) return;
  fill(mark, mark + n, 0);
  if (path(id)) return;
  in[id] = 1;
  fill(mark, mark + n, 0);
  bool any = 0;
  for (int i = 0; i < n; i++) {
    if (i != id && mark[i] == 0) {
      fnd(i);
      componm(i);
      break;
    }
  }
  for (int i = 0; i < n; i++) {
    if (i != id && mark[i] == 0) {
      fnd(i);
      any = 1;
      break;
    }
  }
  if (any) return;
  fill(in, in + n, 0);
  fill(mark, mark + n, 0);
  vec.clear();
  for (int i = 0; i < n; i++) {
    if (i != id && mark[i] == 0 && int((v[i]).size()) >= 3 && dis(i)) break;
  }
  if (vec.empty()) return;
  in[id] = 1;
  fnd(vec[0], vec[1]);
  fnd(vec.back(), vec[int((vec).size()) - 2]);
  if (int((vec).size()) == 2 && in[vec[0]] && in[vec[1]]) {
    fill(in, in + n, 0);
    return;
  }
  return;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie();
  vector<int> ans;
  int q;
  cin >> q;
  while (q--) {
    solve();
    ans.clear();
    for (int i = 0; i < n; i++)
      if (in[i] == 0) ans.push_back(i + 1);
    if (int((ans).size()) != 0 && int((ans).size()) != n) {
      cout << "Yes\n";
      cout << int((ans).size()) << "\n";
      for (int u : ans) cout << u << " ";
      cout << "\n";
    } else {
      cout << "No\n";
    }
  }
}