x =[0,0,0,0]
for j in range(len(x)):
a = list(map(int,input().split()))
for i in a:
x[j]+=i
a1,b1,a2,b2=x
print("%d:%d"%(a1,b1))
print("%d:%d"%(a2,b2))
if a1 > b1 and a2 > b2:
print("Win")
elif a1 < b1 and a2 < b2:
print("Lose")
else:
print("Tie")