def get_share_long_spans(span_length: list):
    """
    gets the share of long spans (spans longer than 4) to all spans
    :param span_length: list of lengths of the spans
    :return: percentage of long spans in all spans
    """
    return sum(length >= 4 for length in span_length)/len(span_length)