def movieTitle_to_id(movies_titles_list,movies):
    """
    Convert a list of movie titles to a list of movie ids
    """
    movies_list = []
    for i in movies_titles_list:
        id = list(movies['movieId'][movies['title'] == i])[0]
        movies_list.append(id)
    return movies_list