def selection_criteria_1(users, label_of_interest):
    """
    Formula for Retirement/Selection score:
    x = sum_i=1_to_n (r_i) — sum_j=1_to_m (r_j).
    Where first summation contains reliability scores of users who have labeled it as the same
    as the label of interest, second summation contains reliability scores of users who have
    labeled it differently

    Args:
        users (list): List of users where each element is a tuple of the form (uid, ulabel,
        f1 score)
        label_of_interest (int): Label under consideration (left hand summation of formula)

    Returns (int): 1 = select the subject id, 0 = don't select
    """
    left_sum, right_sum = 0, 0
    threshold = 2.0

    for user in users:
        uid, ulabel, f1_score = user
        if ulabel == label_of_interest:
            left_sum += f1_score
        else:
            right_sum += f1_score

    if left_sum - right_sum >= threshold:
        return 1
    else:
        return 0