def rivers_with_station(stations):
    """Given a station object returns names of the rivers with a monitoring station."""
    rivers = set()
    for x in stations:
        rivers.add(x.river)
    return rivers