https://www.acmicpc.net/problem/10214
t = int(input())
for _ in range(t):
yon, kor = 0, 0
for _ in range(9):
y, k = map(int, input().split())
yon += y
kor += k
if yon > kor:
print("Yonsei")
elif kor > yon:
print("Korea")
else:
print("Draw")