#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define all(a) a.begin(), a.end()
#define endl '\n'
void solve()
{
ll n;
cin >> n;
vector<ll> v(n);
ll od = 0, ev = 0;
for (auto &x : v)
{
cin >> x;
if (x % 2 == 0)
ev++;
else
od++;
}
ll mn = min(od, ev);
if (n == 1)
{
cout << "Roy" << endl;
return;
}
if(od==0||ev==0)
{
cout<<"Hridoy"<<endl;return;
}
if(od==ev)
{
cout<<"Hridoy"<<endl;return;
}
else
{
cout<<"Roy"<<endl;
}
}
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
ll t;
cin >> t;
while (t--)
{
solve();
}
}