/**
 * This function simulates a photographer capturing photos of different subjects.
 *
 * @param subjects a list of strings representing the subjects to capture photos of
 * @param numPhotos an integer representing the number of photos to capture of each subject
 * @return a list of strings representing the captured photos
 */
fun capturePhotos(subjects: List<String>, numPhotos: Int): List<String> {

    val capturedPhotos = mutableListOf<String>()

    for (subject in subjects) {
        repeat(numPhotos) {
            capturedPhotos.add("Photo of $subject")
        }
    }

    return capturedPhotos
}
/**
 * This function simulates a photographer capturing photos of different subjects.
 *
 * @param subjects a list of strings representing the subjects to capture photos of
 * @param numPhotos an integer representing the number of photos to capture of each subject
 * @return a list of strings representing the captured photos
 */
fun capturePhotos(subjects: List<String>, numPhotos: Int): List<String> {
/**
 * This function simulates a photographer capturing photos of different subjects.
 *
 * @param subjects a list of strings representing the subjects to capture photos of
 * @param numPhotos an integer representing the number of photos to capture of each subject
 * @return a list of strings representing the captured photos
 */
fun capturePhotos(subjects: List<String>, numPhotos: Int): List<String> {

    val capturedPhotos = mutableListOf<String>()

    for (subject in subjects) {
        repeat(numPhotos) {
            capturedPhotos.add("Photo of $subject")
        }
    }

    return capturedPhotos
}