def rivers_with_station(stations):

    """Returns a set with the names of rivers
        that have a monitoring station
    """
    rivers = set()

    for station in stations:
        if station.river != None:
            rivers.add(station.river)

    return rivers