as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
write an algorithm to find the top 3 movies with highest average rating.
user
step 1: create a list of movies and ratings.
step 2: sort the list in descending order based on the average rating.
step 3: select the top 3 movies in the resulting list.
assistant