#include <iostream>
#include <vector>
using namespace std;
#define ll long long
#define vi vector<ll>
void solve() {
ll n;
cin >> n;
vi p(n);
ll odd = 0, even = 0;
for (ll i = 0; i < n; i++) {
cin >> p[i];
if (p[i] % 2 == 1)
odd++;
else
even++;
}
if (odd > even) {
cout << "Roy" << endl;
} else if (even > odd) {
if (n % 2 == 0)
cout << "Hridoy" << endl;
else
cout << "Roy" << endl;
} else {
cout << "Hridoy" << endl;
}
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
ll t;
cin >> t;
while (t--) {
solve();
}
return 0;
}