import sys
input = lambda: sys.stdin.readline().rstrip("\r\n")
rint = lambda: int(input())
rlist = lambda: list(map(int, input().split()))
def solve():
n = rint()
a = rlist()
odds = sum(x & 1 for x in a)
evens = n - odds
q = min(evens // 2, odds // 2)
evens -= 2 * q
odds -= 2 * q
for first in range(2):
results = []
for second in range(2):
path = [first, second, first ^ 1, second ^ 1]
count = [evens, odds]
for i, x in enumerate(path):
count[x] -= 1
if count[x] < 0:
winner = ~i & 1
break
results.append(winner)
if not any(results):
return 1
return 0
for tc in range(rint()):
print("Roy" if solve() else "Hridoy")