#include<bits/stdc++.h>
using namespace std;
using ll = long long;
void solve() {
int n;
cin >> n;
int even = 0, odd = 0;
for (int i = 0; i < n; i++) {
int x;
cin >> x;
if (x & 1)
odd++;
else
even++;
}
if (n == 1)
cout << "Roy" << '\n';
else if (even == 0 or odd == 0)
cout << "Hridoy" << '\n';
else if (n == 2 or (even == odd))
cout << "Hridoy" << '\n';
else if (even == 1 or odd == 1)
cout << "Roy" << '\n';
else if (n & 1)
cout << "Roy" << '\n';
else
cout << "Hridoy" << '\n';
}
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int tc = 1;
cin >> tc;
while(tc--) {
solve();
}
return 0;
}