def rivers_with_station(stations):
    """Given list of stations (MonitoringStation object), return the
    names of the rivers that are being monitored"""

    # Collect all the names of the rivers in a set to avoid duplicate entries
    rivers = {station.river for station in stations}

    # Return a list for convenience
    return list(rivers)