1def areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight):
2 if max(yourLeft, yourRight) == max(friendsRight, friendsLeft) and min(yourLeft, yourRight) == min(friendsLeft, friendsRight):
3 return True
4 else:
5 return False