def largeStraight(roll):
    return 40*CategoryRules.largeStraight(roll)
def smallStraight(roll):
    return 30*CategoryRules.smallStraight(roll)
def fourOfAKind(roll):
    if CategoryRules.fourOfAKind(roll):
        return sum(roll)
    else:
        return 0
def threeOfAKind(roll):
    if CategoryRules.threeOfAKind(roll):
        return sum(roll)
    else:
        return 0
def fullHouse(roll):
    return 25*CategoryRules.fullHouse(roll)
def yahtzee(roll):
    return 50*CategoryRules.yahtzee(roll)