//{{{ includes

#include <bits/stdc++.h>

using namespace std;
//}}}

//{{{ types
typedef int_fast64_t ll;
typedef int_least32_t ii;
typedef vector<ii> vii;
typedef vector<ll> vll;
typedef vector<vii> vvii;
typedef vector<vll> vvll;
typedef set<ii> sii;
typedef set<ll> sll;
//}}}

//{{{ aliases
#define len(x) ((ll) (x).size())
#define sz(x) ((ll) (x).size())
#define itall(x) (x).begin(), (x).end()
#define ritall(x) (x).rbegin(), (x).rend()
#define pb push_back
#define mp(a, b) make_pair((a), (b))
#define mt3(a, b, c) make_tuple((a), (b), (c))
#define mt4(a, b, c, d) make_tuple((a), (b), (c), (d))
#define mt5(a, b, c) make_tuple((a), (b), (c), (d), (e))
#define bains(x) back_inserter((x))

#define sc(t, v) static_cast<t>((v))

#define elem(needle, haystack) (find(itall((haystack)), (needle)) != (haystack).end())
#define notElem(n, h) (!elem((n), (h)))

#define isit istream_iterator
#define cini(type, i) \
  isit<type> i(cin); isit<type> eo ## i;
#define isitall(x) (x), (eo ## x)
#define osit ostream_iterator

#define rep(i, lo, hi) for (ll i = (lo); i <= (hi); i++)
#define repr(i, lo, hi) for (ll i = (hi); i >= (lo); i--)
#define repn(zzz, hi) for (ll zzz = 1; zzz <= hi; zzz++)

#define inf 1000000000
#define infll (2000000000000000000L)
//}}}

//{{{ util functions
template<class II, class SZ, class OI>
OI cpy_n(II _i, SZ _s, OI _o) {
  repn(_j, _s) {*(_o++) = *_i; if (_j != _s) {_i++;}}; return _o;
}
#define copy_n cpy_n // actual copy_n has uncertain behavior
template<class T> void slurp(vector<T> & v, ii n = inf) {cini(T, i); if (n == inf) {copy(isitall(i), bains(v));} else {v.reserve(n); copy_n(i, n, bains(v));}}
template<class T, class U> void slurp2(vector<T> & va, vector<U> & vb, ii n = inf) {cini(T, a); cini(U, b); if (n != inf) {va.reserve(n); vb.reserve(n);} auto ao = bains(va); auto bo = bains(vb); repn(i, n) {if (a == eoa) break; *(ao++) = *a; *(bo++) = *b; if (i != n) {a++; b++;} }}
//}}}
//{{{
chrono::time_point<chrono::system_clock> start_time;

#define MULTIPLE_TESTCASES
#define OUTPUT_CASE_NUMBERS
#define ENDLINES
//}}}

//{{{ personal libraries
//
//{{{ slurpn
//}}} slurpn
//
//{{{ trie
//}}} trie
//
//{{{ segtree
//}}} segtree
//
//}}}

// --------------------------------------------------------------------------
#undef MULTIPLE_TESTCASES  // delete to turn on
#undef OUTPUT_CASE_NUMBERS //
#undef ENDLINES

void do_it() {
  ll a, b, c;
  cin >> a >> b >> c;
  if (a == b && b == c) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
// --------------------------------------------------------------------------

//{{{ boilerplate running code
void start() {
  start_time = chrono::system_clock::now();
}

void end() {
  chrono::time_point<chrono::system_clock> end_time;
  end_time = chrono::system_clock::now();
  chrono::duration<double> diff = end_time - start_time;
  cerr << fixed << setprecision(4) << diff.count() << "s" << endl;
}

void do_mult() {
  ii times;
  cin >> times;
  repn(i, times) {
#ifdef OUTPUT_CASE_NUMBERS
    cout << "Case #" << i << ": ";
#endif
    do_it();
#ifdef ENDLINES
    cout << endl;
#endif
  }
}

int main() {
  ios::sync_with_stdio(false);
  start();
#ifdef MULTIPLE_TESTCASES
  do_mult();
#else
  do_it();
#ifdef ENDLINES
  cout << endl;
#endif
#endif
  end();
  return 0;
}
//}}}


Measured memory_bytes: 256