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 = 500005;
int parent[N], degree[N], h[N];
bool visited[N], good[N];
vector<int> adj[N];
queue<int> q = queue<int>();
int n, m, root, mx;
bool has_3k_vertex();
bool has_121_path();
bool has_2_cycle();
bool has_122_components();
bool dfs1(int u);
void dfs2(int u);
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  int t;
  for (cin >> t; t; --t) {
    cin >> n >> m;
    for (int i = 0; i < m; ++i) {
      int u, v;
      cin >> u >> v;
      degree[--u]++, degree[--v]++;
      adj[u].push_back(v);
      adj[v].push_back(u);
    }
    for (root = 0; root < n && degree[root] % 3 != 1; root++)
      ;
    if (has_3k_vertex() or (root < n and has_121_path()) or has_2_cycle() or
        (root < n and degree[root] > 4 and has_122_components())) {
      vector<int> vect = vector<int>();
      for (int i = 0; i < n; ++i) {
        if (not good[i]) {
          vect.push_back(i + 1);
        }
      }
      cout << "Yes" << '\n' << vect.size() << '\n';
      for (auto v : vect) {
        cout << v << " ";
      }
      cout << '\n';
    } else {
      cout << "No" << '\n';
    }
    for (int j = 0; j < n; ++j) {
      adj[j].clear();
      visited[j] = good[j] = false;
      parent[j] = degree[j] = h[j] = 0;
    }
  }
  return 0;
}
bool has_122_components() {
  bool flag = false;
  for (int i = 0; i < n; ++i) {
    visited[i] = false;
  }
  visited[root] = good[root] = true;
  sort(adj[root].begin(), adj[root].end(),
       [](int a, int b) -> bool { return h[a] < h[b]; });
  for (auto u : adj[root]) {
    if (not visited[u] and h[u] > 1) {
      int v = u;
      good[u] = true;
      while (parent[v] != root) {
        v = parent[v];
        good[v] = true;
      }
      if (flag) break;
      dfs2(v);
      flag = true;
    }
  }
  return true;
}
bool has_2_cycle() {
  parent[root < n ? root : 0] = -1;
  for (int i = 0; i < n; ++i) {
    visited[i] = false;
  }
  return dfs1(root < n ? root : 0);
}
bool dfs1(int u) {
  mx = -1;
  visited[u] = true;
  for (auto v : adj[u])
    if (visited[v] and h[v] < h[u] - 1 and (mx == -1 or h[v] > h[mx])) mx = v;
  if (mx != -1 and h[u] - h[mx] + 1 < n and degree[mx] % 3 > 1) {
    for (; u != parent[mx]; u = parent[u]) good[u] = true;
    return true;
  }
  for (auto v : adj[u]) {
    if (not visited[v]) {
      parent[v] = u;
      h[v] = h[u] + 1;
      if (dfs1(v)) return true;
    }
  }
  return false;
}
void dfs2(int u) {
  visited[u] = true;
  for (auto v : adj[u])
    if (not visited[v]) dfs2(v);
}
bool has_121_path() {
  parent[root] = -1;
  visited[root] = true;
  q.push(root);
  for (; !q.empty(); q.pop()) {
    int u = q.front();
    if (u != root and degree[u] % 3 == 1 and h[u] < n - 1) {
      for (; u != -1; good[u] = true, u = parent[u])
        ;
      for (; !q.empty(); q.pop())
        ;
      return true;
    }
    for (auto v : adj[u]) {
      if (not visited[v]) {
        visited[v] = true;
        q.push(v);
        parent[v] = u;
        h[v] = h[u] + 1;
      }
    }
  }
  return false;
}
bool has_3k_vertex() {
  for (int i = 0; i < n; ++i) {
    if (degree[i] % 3 == 0 and n > 1) {
      good[i] = true;
      return true;
    }
  }
  return false;
}