def get_artist_names(artist_database, artist_id):

    """
    Return the list of names corresponding to an artist
    """

    if str(artist_id) not in artist_database:
        return []

    alt_names = [artist_database[str(artist_id)]["name"]]
    if artist_database[str(artist_id)]["alt_names"]:
        for alt_name in artist_database[str(artist_id)]["alt_names"]:
            alt_names.append(alt_name)
    return alt_names