def check_businesses(user_id, REVIEWS):
    """
    returns a list of businesses a user has placed reviews for
    """
    businesses = []
    for city, reviews in REVIEWS.items():
        for review in reviews:
            if review["user_id"] == user_id:
                businesses.append(review['business_id'])
    return businesses