#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<long long,long long> PLL;
#define int long long
#define all(v) v.begin(),v.end()
#define faster {ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);}
const LL mod = 1e9 + 7;
const int N = 2e5 + 10;
const LL inf = 1e9;
void solve(int test){
int n; cin>>n;
int o = 0, e = 0;
for(int i = 0; i < n; i++){
int u; cin>>u;
if(u & 1) o++;
else e++;
}
if(o > e) swap(o, e);
if(o == e) cout<<"Hridoy\n";
else if(n == 1 || (o % 2)) cout<<"Roy\n";
else cout<<"Hridoy\n";
}
signed main(){
faster
int t = 1;
cin>>t;
for(int i = 1; i <= t; i++){
solve(i);
}
return 0;
}