#include <iostream>
using namespace std;
bool can_win(int f_ev, int s_ev, int ev, int od) {
int turn = 1;
while (true) {
if (turn) { f_ev ? ev-- : od--; f_ev ^= 1; }
else { s_ev ? ev-- : od--; s_ev ^= 1; }
turn ^= 1;
if (ev < 0 || od < 0) return turn;
}
return 0;
}
void solve() {
int n; cin >> n;
int ev = 0, od = 0;
for (int i = 0; i < n; i++) {
int x; cin >> x; (x & 1) ? od++ : ev++;
}
bool ok = false;
for (int i = 0; i < 2; i++) {
bool win = true;
for (int j = 0; j < 2; j++)
win &= can_win(i, j, ev, od);
ok |= win;
}
cout << (ok ? "Roy" : "Hridoy") << '\n';
}
int main() {
ios_base::sync_with_stdio(0); cin.tie(0);
int tt; cin >> tt; while (tt--) solve(); return 0;
}