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;
int n, m;
int par[500005];
int comp[500005];
bool vis[500005];
set<int> vd[3];
set<int> hold;
vector<int> adj[500005];
inline void give_answer() {
  if (hold.empty() || hold.size() == n) {
    puts("No");
    return;
  }
  puts("Yes");
  assert((n - hold.size()) > 1);
  printf("%d\n", n - hold.size());
  for (int i = 1; i <= n; i++) {
    if (hold.count(i)) {
      continue;
    }
    printf("%d ", i);
  }
  puts("");
}
bool dfs1(int st, int pr) {
  par[st] = pr;
  comp[st] = comp[pr];
  bool found = false;
  for (auto x : adj[st]) {
    if (x == pr || vd[1].count(x)) {
      continue;
    }
    if (par[x]) {
      found = true;
      sort(adj[st].begin(), adj[st].end());
      break;
    }
  }
  if (found) {
    int curr = st;
    while (curr == pr || !binary_search(adj[st].begin(), adj[st].end(), curr)) {
      hold.insert(curr);
      curr = par[curr];
    }
    hold.insert(curr);
    return true;
  }
  bool done = false;
  for (auto x : adj[st]) {
    if (x == pr || vd[1].count(x)) {
      continue;
    }
    done = dfs1(x, st);
    if (done) {
      return true;
    }
  }
  return false;
}
void bfs1(int st) {
  vector<int> par(n + 1, 0);
  queue<int> q;
  q.push(st);
  vis[st] = true;
  int v = 0;
  while (!q.empty()) {
    int u = q.front();
    q.pop();
    if (u != st && vd[1].count(u)) {
      v = u;
      break;
    }
    for (auto x : adj[u]) {
      if (vis[x]) {
        continue;
      }
      par[x] = u;
      vis[x] = true;
      q.push(x);
    }
  }
  assert(v != 0);
  if (v == 0) {
    exit(-1);
  }
  while (v) {
    hold.insert(v);
    v = par[v];
  }
  assert(hold.count(st));
  return;
}
void find_cycles(int c1, int c2, int st, int vc1, int vc2) {
  queue<int> q;
  vector<int> par(n + 1, 0);
  set<int> tars;
  for (auto x : adj[st]) {
    if (x == vc1 || x == vc2) {
      continue;
    }
    tars.insert(x);
  }
  par[vc1] = -1;
  q.push(vc1);
  while (!q.empty()) {
    int v = q.front();
    q.pop();
    if (tars.count(v)) {
      while (v != -1) {
        hold.insert(v);
        v = par[v];
      }
      break;
    }
    for (auto u : adj[v]) {
      if (comp[u] != comp[v] || par[u]) {
        continue;
      }
      par[u] = v;
      q.push(u);
    }
  }
  while (!q.empty()) {
    q.pop();
  }
  fill(par.begin(), par.end(), 0);
  par[vc2] = -1;
  q.push(vc2);
  while (!q.empty()) {
    int v = q.front();
    q.pop();
    if (tars.count(v)) {
      while (v != -1) {
        hold.insert(v);
        v = par[v];
      }
      break;
    }
    for (auto u : adj[v]) {
      if (comp[u] != comp[v] || par[u]) {
        continue;
      }
      par[u] = v;
      q.push(u);
    }
  }
  hold.insert(st);
}
int main() {
  for (int _t_, _q_ = 0, __ = scanf("%d", &_t_); _q_ < _t_; _q_++) {
    scanf("%d%d", &n, &m);
    for (int i = 1; i <= m; i++) {
      int a, b;
      scanf("%d%d", &a, &b);
      adj[a].push_back(b);
      adj[b].push_back(a);
    }
    for (int i = 1; i <= n; i++) {
      vd[adj[i].size() % 3].insert(i);
    }
    if (vd[0].size()) {
      hold.insert(*vd[0].begin());
      give_answer();
      goto CLEANUP;
    }
    for (auto v : vd[1]) {
      for (auto u : adj[v]) {
        if (!vd[1].count(u)) {
          continue;
        }
        hold.insert(u);
        hold.insert(v);
        give_answer();
        goto CLEANUP;
      }
    }
    for (auto v : vd[2]) {
      if (comp[v]) {
        continue;
      }
      comp[v] = v;
      if (dfs1(v, v)) {
        give_answer();
        goto CLEANUP;
      }
    }
    if (vd[1].size() > 1) {
      bfs1(*vd[1].begin());
      give_answer();
      goto CLEANUP;
    }
    for (auto v : vd[1]) {
      int cmp = comp[adj[v][0]];
      for (auto u : adj[v]) {
        if (comp[u] != cmp) {
          find_cycles(cmp, comp[u], v, adj[v][0], u);
          give_answer();
          goto CLEANUP;
        }
      }
    }
    give_answer();
  CLEANUP:
    for (int i = 0; i < 3; i++) {
      vd[i].clear();
    }
    hold.clear();
    for (int i = 1; i <= n; i++) {
      adj[i].clear();
    }
    memset(vis, 0, (n + 1) * sizeof(vis[0]));
    memset(par, 0, (n + 1) * sizeof(par[0]));
    memset(comp, 0, (n + 1) * sizeof(comp[0]));
  }
  return 0;
}