def score_illegals(illegals):
    """ Take a list of illegal closing characters and return a score per the question's criteria
    """
    sum = illegals.count(')') * 3
    sum += illegals.count(']') * 57
    sum += illegals.count('}') * 1197
    sum += illegals.count('>') * 25137
    return sum