C# Are Equally Strong
static bool AreEquallyStrong(int yourLeft, int yourRight, int friendsLeft, int friendsRight)
{
    return Math.Max(yourRight, yourLeft) == Math.Max(friendsLeft, friendsRight)
           && Math.Min(yourLeft, yourRight) == Math.Min(friendsRight, friendsLeft);
}

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