#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define ld long double
#define endl '\n'
#define MIR183_PC ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define yes cout << "YES" << endl
#define no cout << "NO" << endl
void solve() {
// Your code here
ll n;
cin>>n;
vector<ll> v(n);
ll odd=0,even=0;
for(ll i=0;i<n;i++){
cin>>v[i];
if(v[i]%2==0) even++;
else odd++;
}
if(n==1){
cout<<"Hridoy"<<endl;
return;
}
// ll mn=min(odd,even);
// if(mn%2==0){
// cout<<"Hridoy"<<endl;
// }else{
// cout<<"Roy"<<endl;
// }
if(odd==0 or even==0){
cout<<"Hridoy"<<endl;
return;
}
if(odd%2==0 and even%2==0){
cout<<"Hridoy"<<endl;
}else cout<<"Roy"<<endl;
}
signed main() {
MIR183_PC;
// Always use ll, int may give TLE
ll tt;
tt=1;
cin >> tt;
while (tt--) {
solve();
}
return 0;
}