Rust Are Equally Strong
fn are_equally_strong(your_left: i64, your_right: i64, friends_left: i64, friends_right: i64) -> bool {
    your_right.max(your_left) == friends_left.max(friends_right)
        && your_left.min(your_right) == friends_right.min(friends_left)
}

This compares each person’s strongest and weakest arm. If both pairs match, the result is true.