#include <bits/stdc++.h>
using namespace std;
using ll = long long;
void solve() {
int n, a, oc = 0, ec = 0;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> a;
if (a % 2) oc++;
else ec++;
}
auto check = [](int pr, int ph, int oc, int ec) {
while (true) {
int& tr = pr? oc : ec;
if (!tr) return 0;
tr--;
pr = 1 - pr;
int& th = ph? oc : ec;
if (!th) return 1;
th--;
ph = 1 - ph;
}
};
int r = check(0, 0, oc, ec) & check(0, 1, oc, ec);
r |= check(1, 0, oc, ec) & check(1, 1, oc, ec);
cout << (r? "Roy" : "Hridoy") << "\n";
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int t = 1;
cin >> t;
while (t--)
solve();
}