#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++;
}
if(od == ev or ev == n or od == n)cout<<"Hridoy"<<endl;
else cout<<"Roy"<<endl;
}
int main()
{
fastio
tc
{
solve();
}
}