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, Deg[501000], vis[501000], par[501000], MM[501000], TP[501000],
    Com[501000], ct, CC[501000];
vector<int> E[501000], F[501000];
void Print(int a, int pp) {
  int i;
  for (i = 1; i <= n; i++) MM[i] = 0;
  int cc = 0;
  MM[a] = ++cc;
  TP[cc] = a;
  while (1) {
    int t = par[a];
    MM[t] = ++cc;
    TP[cc] = t;
    int Mx = -1;
    for (auto &x : F[t]) {
      if (MM[x] && x != a) {
        Mx = max(Mx, MM[x]);
      }
    }
    if (Mx != -1) {
      for (i = 1; i <= n; i++) MM[i] = 0;
      for (i = Mx; i <= cc; i++) {
        MM[TP[i]] = 1;
      }
      vector<int> RR;
      for (i = 1; i <= n; i++)
        if (!MM[i]) RR.push_back(i);
      if (RR.size() == n || RR.size() == 0) {
        puts("No");
        return;
      }
      puts("Yes");
      printf("%d\n", RR.size());
      for (auto &t : RR) printf("%d ", t);
      puts("");
      return;
    }
    a = par[a];
  }
}
bool DFS(int a, int pp, int col) {
  vis[a] = 1;
  par[a] = pp;
  Com[a] = col;
  for (auto &x : F[a]) {
    if (x == pp) continue;
    if (vis[x]) {
      Print(a, x);
      return true;
    }
    if (DFS(x, a, col)) return true;
  }
  return false;
}
int D[501000], Q[501000], Path[501000];
void BFS(int a, int b) {
  int head = 0, tail = 0;
  int i;
  for (i = 0; i <= n; i++) D[i] = 0, vis[i] = 0;
  Q[++tail] = a;
  vis[a] = 1;
  while (head < tail) {
    int x = Q[++head];
    for (auto &y : E[x]) {
      if (!vis[y]) {
        Q[++tail] = y;
        Path[y] = x;
        vis[y] = 1;
        D[y] = D[x] + 1;
      }
    }
  }
  int t = b;
  vector<int> Z;
  for (i = 1; i <= n; i++) vis[i] = 0;
  while (t != a) {
    vis[t] = 1;
    t = Path[t];
    if (t != a && Deg[t] % 3 == 1) {
      BFS(t, b);
      return;
    }
  }
  vis[a] = 1;
  vector<int> RR;
  for (i = 1; i <= n; i++) {
    if (!vis[i]) RR.push_back(i);
  }
  if (RR.size() == n || RR.size() == 0) {
    puts("No");
    return;
  }
  puts("Yes");
  printf("%d\n", RR.size());
  for (auto &t : RR) printf("%d ", t);
  puts("");
}
map<pair<int, int>, int> Map;
int chk[501000];
void Build(int a) {
  int head = 0, tail = 0;
  int i, b = -1;
  for (i = 0; i <= n; i++) D[i] = 0, vis[i] = 0;
  Q[++tail] = a;
  vis[a] = 1;
  while (head < tail) {
    int x = Q[++head];
    for (auto &y : F[x]) {
      if (!vis[y]) {
        if (chk[y] && b == -1) b = y;
        Q[++tail] = y;
        Path[y] = x;
        vis[y] = 1;
        D[y] = D[x] + 1;
      }
    }
  }
  int t = b;
  while (t != a) {
    Map[{min(Path[t], t), max(Path[t], t)}]++;
    t = Path[t];
  }
}
void Solve() {
  int i, a, b;
  scanf("%d%d", &n, &m);
  for (i = 1; i <= n; i++) E[i].clear(), F[i].clear();
  for (i = 0; i < m; i++) {
    scanf("%d%d", &a, &b);
    E[a].push_back(b);
    E[b].push_back(a);
  }
  for (i = 1; i <= n; i++) Deg[i] = E[i].size();
  if (n == 1) {
    puts("No");
    return;
  }
  for (i = 1; i <= n; i++) {
    if (E[i].size() % 3 == 0) {
      puts("Yes");
      printf("%d\n", n - 1);
      for (int j = 1; j <= n; j++) {
        if (j != i) printf("%d ", j);
      }
      puts("");
      return;
    }
  }
  if (n == 2) {
    puts("No");
    return;
  }
  for (i = 1; i <= n; i++) {
    for (auto &t : E[i]) {
      if (Deg[i] % 3 == 2 && Deg[t] % 3 == 2) {
        F[i].push_back(t);
      }
      if (Deg[i] % 3 == 1 && Deg[t] % 3 == 1) {
        puts("Yes");
        printf("%d\n", n - 2);
        for (int j = 1; j <= n; j++) {
          if (j != i && j != t) printf("%d ", j);
        }
        puts("");
        return;
      }
    }
  }
  ct = 0;
  for (i = 1; i <= n; i++) vis[i] = 0, par[i] = 0;
  for (i = 1; i <= n; i++) {
    if (!vis[i] && Deg[i] % 3 == 2) {
      ct++;
      if (DFS(i, 0, ct)) {
        return;
      }
    }
  }
  vector<int> V;
  for (i = 1; i <= n; i++) {
    if (Deg[i] % 3 == 1) {
      V.push_back(i);
    }
  }
  if (V.empty()) {
    puts("No");
    return;
  }
  if (V.size() >= 2) {
    BFS(V[0], V[1]);
    return;
  } else {
    int a = V[0];
    for (i = 1; i <= ct; i++) CC[i] = 0;
    for (auto &t : E[a]) {
      CC[Com[t]]++;
    }
    vector<int> V1, V2;
    for (i = 1; i <= ct; i++) {
      if (CC[i] >= 4) {
        V1.push_back(i);
      }
      if (CC[i] >= 2) {
        V2.push_back(i);
      }
    }
    if (V1.size() == 0 && V2.size() < 2) {
      puts("No");
      return;
    }
    Map.clear();
    if (V2.size() >= 2) {
      vector<int> Z[2];
      for (i = 1; i <= n; i++) chk[i] = 0;
      for (auto &t : E[a]) {
        chk[t] = 1;
        if (V2[0] == Com[t]) Z[0].push_back(t);
        if (V2[1] == Com[t]) Z[1].push_back(t);
      }
      Build(Z[0][0]);
      Build(Z[1][0]);
    } else {
      puts("No");
      return;
    }
    for (i = 1; i <= n; i++) vis[i] = 0;
    for (auto &t : Map) {
      if (t.second % 2 == 1) {
        vis[t.first.first] = 1;
        vis[t.first.second] = 1;
      }
    }
    vis[a] = 1;
    vector<int> RR;
    for (i = 1; i <= n; i++)
      if (!vis[i]) RR.push_back(i);
    if (RR.size() == 0 || RR.size() == n) {
      puts("No");
      return;
    }
    puts("Yes");
    printf("%d\n", RR.size());
    for (auto &x : RR) printf("%d ", x);
    puts("");
  }
}
int main() {
  int TC;
  scanf("%d", &TC);
  while (TC--) {
    Solve();
  }
}