#include <bits/stdc++.h> using namespace std; int Total() { // 計算四節比賽的總分 int total=0; for(int i=0;i<4;i++){ // 讀取四節的分數並加總 int score; cin>>score; total+=score; } return total; } int main() { int game1_home=Total(); // 讀取第一場比賽主隊總分 int game1_away=Total(); // 讀取第一場比賽客隊總分 int game2_home=Total(); // 讀取第二場比賽主隊總分 int game2_away=Total(); // 讀取第二場比賽客隊總分 cout<<game1_home<<":"<<game1_away<<endl; cout<<game2_home<<":"<<game2_away<<endl; int wins=(game1_home>game1_away)+(game2_home>game2_away); // 贏2場="Win", 贏1場="Tie", 贏0場="Lose" cout<<(wins==2?"Win":wins==1?"Tie":"Lose"); return 0; }