def small_straight(dice):
    if sorted(dice) == [1, 2, 3, 4, 5]:
        return sum(dice)
    else:
        return 0

9c8cf4e147d749be709f14717b3b47b3aa05b507
<mask token>

def small_straight(dice):
    if sorted(dice) == [1, 2, 3, 4, 5]:
        return sum(dice)
    else:
        return 0
