#41135: PYTHON解 簡單解


suyueh (suyueh)

學校 : 不指定學校
編號 : 272111
來源 : [125.228.45.241]
最後登入時間 :
2025-06-02 18:21:06

B=0
A=0

a,b,c,d=map(int,input().split())
A=a+b+c+d

a,b,c,d=map(int,input().split())
B=a+b+c+d

e,f,g,h=map(int,input().split())
C=e+f+g+h

e,f,g,h=map(int,input().split())
D=e+f+g+h


print(str(A)+":"+str(B))
print(str(C)+":"+str(D))
if A>B and C>D:
  print("Win")
elif A<B and C<D:
  print("Lose")
else:
  print("Tie")