1 line
344 B
Python
1 line
344 B
Python
print("\n".join([f"Battle {i+1}: {'Good triumphs over Evil' if (gan := sum(a*b for a,b in zip([1,2,3,3,4,10], map(int, input().split())))) > (sau := sum(a*b for a,b in zip([1,2,2,2,3,5,10], map(int, input().split())))) else 'Evil eradicates all trace of Good' if gan < sau else 'No victor on this battle field'}" for i in range(int(input()))])) |