/**
* written by Binoy Barman .
**/
#include<bits/stdc++.h>
using namespace std;
#define nl '\n'
#define all(v) v.begin(), v.end()
#define Too_Many_Jobs int tts, tc = 1; cin >> tts; hell: while(tts--)
#define Dark_Lord_Binoy ios_base::sync_with_stdio(false); cin.tie(NULL);
#ifdef LOCAL
#include "debug/whereisit.hpp"
#else
#define dbg(...) 42
#endif
#define int long long
bool isRoy(bool roy, bool hridoy, int evn, int odd) {
while(1) {
if(roy) {
if(odd > 0) {
odd--;
} else {
return false;
}
} else {
if(evn > 0) {
evn--;
} else {
return false;
}
}
if(hridoy) {
if(odd > 0) {
odd--;
} else {
return true;
}
} else {
if(evn > 0) {
evn--;
} else {
return true;
}
}
roy ^= true;
hridoy ^= true;
}
}
int32_t main() {
Dark_Lord_Binoy
#ifdef LOCAL
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
Too_Many_Jobs {
int n;
cin >> n;
int odd = 0, evn = 0;
for (int i = 0; i < n; i++) {
int x;
cin >> x;
x % 2 == 0 ? evn++ : odd++;
}
bool roy = true, hridoy = false;
if(isRoy(roy, hridoy, evn, odd)) {
if(isRoy(roy, !hridoy, evn, odd)) {
cout << "Roy" << nl;
goto hell;
}
}
roy = false, hridoy = true;
if(isRoy(roy, hridoy, evn, odd)) {
if(isRoy(roy, !hridoy, evn, odd)) {
cout << "Roy" << nl;
goto hell;
}
}
cout << "Hridoy" << nl;
}
return 0;
}