#include<bits/stdc++.h>
using namespace std;
#define fastio ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define ll long long int
#define fr for(int i=0;i<n;i++)
#define tc int t; cin >> t; while(t--)
#define yes cout<<"YES"<<endl
#define no cout<<"NO"<<endl
void solve()
{
int n,od=0,ev =0;
cin>>n;
int a[n+10];
fr cin>>a[i];
fr{
if(a[i]%2 == 0)ev++;
else od++;
}
int z = od-ev ;
if(z<0)z = z*(-1);
if(od == ev or ev == n or od == n or z%2==0)cout<<"Hridoy"<<endl;
else cout<<"Roy"<<endl;
}
int main()
{
fastio
tc
{
solve();
}
}