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 = 5e5 + 5;
int deg[N];
int cntDeg[N];
int deg2[N];
int dist[N];
vector<int> g[N], t[N];
bool used[N];
int par[N];
bool dfsCycle(int v, int& start, int& finish) {
  used[v] = true;
  for (int u : t[v]) {
    if (u == par[v]) continue;
    if (used[u]) {
      start = u;
      finish = v;
      return true;
    } else {
      dist[u] = dist[v] + 1;
      par[u] = v;
      if (dfsCycle(u, start, finish)) return true;
    }
  }
  return false;
}
int dfsPath(int v, int start) {
  used[v] = true;
  if (deg[v] % 3 == 1 && v != start) return v;
  for (int u : g[v]) {
    if (!used[u]) {
      par[u] = v;
      int x = dfsPath(u, start);
      if (x != -1) return x;
    }
  }
  return -1;
}
bool dp[N];
void dfsDp(int v, int p) {
  dp[v] = deg2[v] >= 4;
  for (int u : t[v]) {
    if (u == p) continue;
    dfsDp(u, v);
    dp[v] |= dp[u];
  }
}
void dfsKill(int v, int p, vector<bool>& kill) {
  kill[v] = true;
  for (int u : t[v]) {
    if (u != p) dfsKill(u, v, kill);
  }
}
void dfsFind(int v, int p, vector<bool>& kill) {
  for (int u : t[v]) {
    if (u == p || !dp[u]) continue;
    dfsFind(u, v, kill);
    return;
  }
  int cntKill = 3;
  for (int u : t[v]) {
    if (!cntKill) break;
    dfsKill(u, v, kill);
    --cntKill;
  }
}
void getPath(int start, int finish, vector<int>& out) {
  for (int v = finish; v != start; v = par[v]) out.push_back(v);
  out.push_back(start);
  reverse(out.begin(), out.end());
}
bool debug = false;
bool solve(vector<bool>& kill) {
  int n, m;
  scanf("%d %d", &n, &m);
  kill.assign(n, true);
  for (int v = 0; v < n; ++v) {
    g[v].clear();
    t[v].clear();
    deg[v] = 0;
    dp[v] = false;
    used[v] = false;
    par[v] = -1;
  }
  for (int x = 0; x < n; ++x) cntDeg[x] = 0;
  while (m--) {
    int u, v;
    scanf("%d %d", &u, &v);
    --u;
    --v;
    g[u].push_back(v);
    g[v].push_back(u);
    ++deg[u];
    ++deg[v];
  }
  if (n <= 3) return false;
  for (int v = 0; v < n; ++v) ++cntDeg[deg[v]];
  if (cntDeg[1] == 2 && cntDeg[2] == n - 2) return false;
  if (cntDeg[2] == n) return false;
  if (cntDeg[4] == 1 && cntDeg[2] == n - 1) return false;
  for (int v = 0; v < n; ++v) {
    if (deg[v] % 3 == 2) {
      for (int u : g[v])
        if (deg[u] % 3 == 2) t[v].push_back(u);
    }
  }
  for (int v = 0; v < n; ++v) {
    if (deg[v] % 3 == 0) {
      kill[v] = false;
      return true;
    }
    vector<int> one;
    for (int u : g[v])
      if (deg[u] % 3 == 1) one.push_back(u);
    if (deg[v] % 3 == 1) {
      if (!one.empty()) {
        kill[v] = false;
        kill[one[0]] = false;
        return true;
      }
    }
  }
  for (int v = 0; v < n; ++v) {
    if (deg[v] % 3 == 0 || deg[v] % 3 == 1) continue;
    vector<int> one;
    for (int u : g[v])
      if (deg[u] % 3 == 1) one.push_back(u);
    if ((int)one.size() >= 2) {
      kill[v] = false;
      kill[one[0]] = false;
      kill[one[1]] = false;
      return true;
    }
  }
  for (int v = 0; v < n; ++v) {
    if (!used[v] && deg[v] % 3 == 2) {
      int start, finish;
      par[v] = -1;
      dist[v] = 0;
      if (dfsCycle(v, start, finish)) {
        vector<int> cycle;
        getPath(start, finish, cycle);
        memset(used, false, sizeof(bool) * n);
        for (int v : cycle) {
          used[v] = true;
          int minDist = N + 5, v_minDist = -1;
          for (int u : g[v]) {
            if (!used[u] || par[v] == u) continue;
            if (dist[v] - dist[u] < minDist) {
              minDist = dist[v] - dist[u];
              v_minDist = u;
            }
          }
          if (minDist != N + 5) {
            start = v_minDist, finish = v;
            break;
          }
        }
        cycle.clear();
        getPath(start, finish, cycle);
        for (int x : cycle) kill[x] = false;
        return true;
      }
    }
  }
  memset(used, false, sizeof(bool) * n);
  int start = -1;
  for (int v = 0; v < n; ++v)
    if (deg[v] % 3 == 1) start = v;
  int finish = dfsPath(start, start);
  if (finish != -1) {
    vector<int> path;
    getPath(start, finish, path);
    memset(dist, -1, sizeof(int) * n);
    for (int i = 0; i < (int)path.size(); ++i) dist[path[i]] = i;
    int start_next = path[1];
    for (int x : g[start]) {
      if (dist[x] > dist[start_next]) start_next = x;
    }
    path.clear();
    getPath(start_next, finish, path);
    memset(dist, N + 5, sizeof(int) * n);
    for (int i = 0; i < (int)path.size(); ++i) dist[path[i]] = i;
    int finish_prev = path[(int)path.size() - 2];
    for (int x : g[finish]) {
      if (dist[x] < dist[finish_prev]) finish_prev = x;
    }
    path.clear();
    getPath(start_next, finish_prev, path);
    path.push_back(finish);
    reverse(path.begin(), path.end());
    path.push_back(start);
    reverse(path.begin(), path.end());
    for (int x : path) kill[x] = false;
    return true;
  }
  int root = -1;
  for (int v = 0; v < n; ++v) {
    deg2[v] = 0;
    for (int u : g[v]) deg2[v] += (deg[u] % 3 == 2);
    if (deg[v] % 3 == 2 && deg2[v] >= 4) root = v;
  }
  memset(used, false, sizeof(bool) * n);
  for (int v = 0; v < n; ++v) kill[v] = false;
  if (root == -1) {
    int cntKill = 3;
    for (int v = 0; v < n && cntKill > 0; ++v) {
      if (deg[v] % 3 == 2 && !kill[v]) {
        dfsKill(v, -1, kill);
        --cntKill;
      }
    }
  } else {
    dfsDp(root, -1);
    dfsFind(root, -1, kill);
  }
  return true;
}
int main() {
  int test;
  scanf("%d", &test);
  while (test--) {
    vector<bool> kill;
    if (solve(kill)) {
      int n = (int)kill.size();
      for (int v = 0; v < n; ++v) {
        if (kill[v]) continue;
        int cntKill = 0;
        for (int u : g[v]) cntKill += kill[u];
        if (cntKill % 3 != 0) {
          for (int v = 0; v < n; ++v) {
            for (int u : g[v]) printf("%d", u + 1);
            printf("|");
          }
          break;
        }
      }
      int cnt = 0;
      for (bool f : kill) cnt += (int)f;
      printf("Yes\n");
      printf("%d\n", cnt);
      for (int i = 0; i < (int)kill.size(); ++i)
        if (kill[i]) printf("%d ", i + 1);
      printf("\n");
    } else {
      printf("No\n");
    }
  }
}