This page is still under construction.

Parts of this page are still being built. What you see may change.

Baseball

Time limit1sMemory limit256 MB

Summary
Sum both teams runs over nine innings for each test case and print the higher scorer or Draw.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

Kyeonggeun was researching the history of Yonsei University for a class assignment when he found, in a corner of the library, the play by play records of past baseball games between Yonsei University and Korea University. The records only list the runs each team scored in each inning, so even with the papers in hand he could not tell at a glance who won.

Going through that pile of records by hand bored him, so he asked you, his programmer friend, for help.

Read the records and tell Kyeonggeun which team won.

Input

The first line contains a natural number TT, the number of test cases. TT test cases follow.

Each test case consists of 9 lines. Each line contains the runs YY scored by Yonsei and the runs KK scored by Korea in that inning, separated by a space. Both numbers are between 0 and 9, inclusive.

Output

For each test case, print one line. Print "Yonsei" if Yonsei scored more runs over the 9 innings, "Korea" if Korea scored more, and "Draw" if the two totals are equal.

Examples5

  1. Example 1

    Input
    1
    1 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    
    Expected output
    Yonsei
    
  2. Example 2

    Input
    1
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 1
    
    Expected output
    Korea
    
  3. Example 3

    Input
    1
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    
    Expected output
    Draw
    
  4. Example 4

    Input
    3
    1 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    2 3
    0 0
    1 1
    0 0
    0 0
    0 0
    0 0
    0 0
    0 0
    4 2
    0 1
    0 1
    1 0
    0 0
    0 0
    0 0
    0 0
    0 0
    
    Expected output
    Yonsei
    Korea
    Yonsei
    
  5. Example 5

    Input
    1
    9 9
    9 9
    9 9
    9 9
    9 9
    9 9
    9 9
    9 9
    9 9
    
    Expected output
    Draw