def filter_greater_50m(distance_list):
    """ filters out all values that are > 50

    Args:
        distance_list: a list of distance values in meters.

    Returns:
        list of the distance values greater than 50 meters.
    """
    # init list of values greater than 50m
    greater_50 = []

    # iterate over each distance
    # and throw it into the greater_50 list if it is greater than 50
    # you could also use a list comprehension here
    for distance in distance_list:
        if distance > 50:
            greater_50.append(distance)

    return greater_50