'''
Call two arms equally strong if the heaviest weights they each are able to lift are equal.
Call two people equally strong if their strongest arms are equally strong (the strongest arm can be both the right and the left), and so are their weakest arms.
Given your and your friend's arms' lifting capabilities find out if you two are equally strong.
Example
•	For yourLeft = 10, yourRight = 15, friendsLeft = 15, and friendsRight = 10, the output should be
areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight) = true;
•	For yourLeft = 15, yourRight = 10, friendsLeft = 15, and friendsRight = 10, the output should be
areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight) = true;
•	For yourLeft = 15, yourRight = 10, friendsLeft = 15, and friendsRight = 9, the output should be
areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight) = false.
'''

def areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight):
    if(yourLeft == friendsLeft and yourRight == friendsRight):
        return True
    elif(yourLeft == friendsRight and yourRight == friendsLeft):
        return True
    else:
        return False


if __name__ == "__main__":
  yourLeft = 15
  yourRight = 10
  friendsLeft = 15
  friendsRight = 9
  output = areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight)
  print(output)

0ba6a3fbac7ed4260848d26e7fb2f83056460a63
<mask token>

<mask token>


def areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight):
    if yourLeft == friendsLeft and yourRight == friendsRight:
        return True
    elif yourLeft == friendsRight and yourRight == friendsLeft:
        return True
    else:
        return False


<mask token>

<mask token>


def areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight):
    if yourLeft == friendsLeft and yourRight == friendsRight:
        return True
    elif yourLeft == friendsRight and yourRight == friendsLeft:
        return True
    else:
        return False


if __name__ == '__main__':
    yourLeft = 15
    yourRight = 10
    friendsLeft = 15
    friendsRight = 9
    output = areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight)
    print(output)

'''
Call two arms equally strong if the heaviest weights they each are able to lift are equal.
Call two people equally strong if their strongest arms are equally strong (the strongest arm can be both the right and the left), and so are their weakest arms.
Given your and your friend's arms' lifting capabilities find out if you two are equally strong.
Example
•	For yourLeft = 10, yourRight = 15, friendsLeft = 15, and friendsRight = 10, the output should be
areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight) = true;
•	For yourLeft = 15, yourRight = 10, friendsLeft = 15, and friendsRight = 10, the output should be
areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight) = true;
•	For yourLeft = 15, yourRight = 10, friendsLeft = 15, and friendsRight = 9, the output should be
areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight) = false.
'''

def areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight):
    if(yourLeft == friendsLeft and yourRight == friendsRight):
        return True
    elif(yourLeft == friendsRight and yourRight == friendsLeft):
        return True
    else:
        return False


if __name__ == "__main__":
  yourLeft = 15
  yourRight = 10
  friendsLeft = 15
  friendsRight = 9
  output = areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight)
  print(output)
