/**
 * This function takes in an actor's name and a list of movies that the actor has acted in.
 * It returns a list of unique movies from the given list.
 */
fun findUniqueMovies(actor: String, movies: List<String>): List<String> {

    val uniqueMovies = mutableListOf<String>()

    for (movie in movies) {
        if (movie !in uniqueMovies) {
            uniqueMovies.add(movie)
        }
    }

    return uniqueMovies
}
/**
 * This function takes in an actor's name and a list of movies that the actor has acted in.
 * It returns a list of unique movies from the given list.
 */
fun findUniqueMovies(actor: String, movies: List<String>): List<String> {
/**
 * This function takes in an actor's name and a list of movies that the actor has acted in.
 * It returns a list of unique movies from the given list.
 */
fun findUniqueMovies(actor: String, movies: List<String>): List<String> {

    val uniqueMovies = mutableListOf<String>()

    for (movie in movies) {
        if (movie !in uniqueMovies) {
            uniqueMovies.add(movie)
        }
    }

    return uniqueMovies
}