#include <bits/stdc++.h>
#define int long long
#define sqrt(x) sqrtl(x)
using namespace std;
namespace solve {
namespace test_case {
void main() {
int n, odd (0), even (0); cin >> n;
vector<int> v(n);
for (auto &i : v) {
cin >> i;
if (i % 2 == 0) {
even++;
} else {
odd++;
}
}
if (odd == even) {
cout << "Hridoy" << '\n';
} else if (odd > even && even != 0) {
cout << "Roy" << '\n';
} else if (odd < even && odd != 0) {
cout << "Roy" << '\n';
} else {
cout << "Hridoy" << '\n';
}
}
}
void main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
int t (1); cin >> t;
while (t--) {
test_case::main();
}
}
}
signed main() { solve::main(); }