def full_house(dice):
    """
    Score the dice based on rules for FULL_HOUSE.
    """
    points = 0
    dice.sort()
    first = dice[0]
    last = dice[-1]
    num_first = dice.count(first)
    num_last = dice.count(last)
    if num_first >= 2 and num_last >= 2 and num_first + num_last == len(dice):
        points = sum(dice)

    return points