#abc337a. A - Scoreboard
A - Scoreboard
Score: points
问题描述
Team Takahashi 和 Team Aoki 进行了 场比赛。在第 场比赛中 ,Team Takahashi 得分 ,Team Aoki 得分 。
从这 场比赛中总得分较高的队伍获胜。
请输出胜者。如果两队总得分相同,则为平局。
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
Team Takahashi and Team Aoki played matches. In the -th match , Team Takahashi scored points, and Team Aoki scored points.
The team with the higher total score from the matches wins.
Print the winner. If the two teams have the same total score, it is a draw.
Constraints
- All input values are integers.
Input
The input is given from Standard Input in the following format:
Output
If Team Takahashi wins, print Takahashi
; if Team Aoki wins, print Aoki
; if it is a draw, print Draw
.
Sample Input 1
4
10 2
10 1
10 2
3 2
Sample Output 1
Takahashi
In four matches, Team Takahashi scored points, and Team Aoki scored points. Team Takahashi wins, so print Takahashi
.
Sample Input 2
6
5 4
4 5
2 4
1 6
7 1
3 2
Sample Output 2
Draw
Both teams scored points. It is a draw, so print Draw
.
Sample Input 3
4
0 0
10 10
50 50
0 100
Sample Output 3
Aoki
One or both teams may score no points in a match.
update @ 2024/3/10 01:26:42