#include <bits/stdc++.h>
using namespace std;
constexpr int INF = 1e9 + 1;
constexpr long long LLINF = 1e18 + 1;
template <typename T, typename S>
ostream &operator<<(ostream &os, const pair<T, S> &p) {
  return os << "(" << p.first << ", " << p.second << ")";
}
template <typename C, typename T = decay<decltype(*begin(declval<C>()))>,
          typename enable_if<!is_same<C, string>::value>::type * = nullptr>
ostream &operator<<(ostream &os, const C &c) {
  bool f = true;
  os << "[";
  for (const auto &x : c) {
    if (!f) os << ", ";
    f = false;
    os << x;
  }
  return os << "]";
}
template <typename T>
void DEBUG(string s, T x) {
  cerr << s << " = " << x << "\n";
}
template <typename T, typename... Args>
void DEBUG(string s, T x, Args... args) {
  cerr << s.substr(0, s.find(',')) << " = " << x << " | ";
  DEBUG(s.substr(s.find(',') + 2), args...);
}
long long gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
long long lcm(long long a, long long b) { return a / gcd(a, b) * b; }
int main() {
  ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  int n, m;
  cin >> n;
  while (cin >> n >> m) {
    int grid[n][m];
    vector<int> row(n), col(m);
    for (__typeof(n) i = 0; i < n; i++)
      for (__typeof(m) j = 0; j < m; j++) {
        cin >> grid[i][j];
        if (grid[i][j]) row[i]++, col[j]++;
      }
    bool ashish = true;
    for (__typeof(n) i = 0; i < n; i++) {
      for (__typeof(m) j = 0; j < m; j++) {
        if (row[i] == 0 && col[j] == 0) {
          ashish = !ashish;
          row[i]++, col[j]++;
        }
      }
    }
    ashish ? printf("Vivek\n") : printf("Ashish\n");
  }
}
