/**
 * Print the details of the actor/actress and their movies.
 *
 * @param actorName The name of the actor/actress.
 * @param movies The list of movies released by the actor/actress.
 */
fun printMovieDetails(actorName: String, movies: List<String>) {

    println("\nActor/Actress: $actorName")
    println("Movies:")
    for (movie in movies) {
        println(movie)
    }
}

// Main program
/**
 * Print the details of the actor/actress and their movies.
 *
 * @param actorName The name of the actor/actress.
 * @param movies The list of movies released by the actor/actress.
 */
fun printMovieDetails(actorName: String, movies: List<String>) {
/**
 * Print the details of the actor/actress and their movies.
 *
 * @param actorName The name of the actor/actress.
 * @param movies The list of movies released by the actor/actress.
 */
fun printMovieDetails(actorName: String, movies: List<String>) {

    println("\nActor/Actress: $actorName")
    println("Movies:")
    for (movie in movies) {
        println(movie)
    }
}

// Main program