/**
 * Given a list of tuples representing photographers, return a new list containing only the photographers whose
 * experience is not equal to 3.
 *
 * @param photographers A list of tuples where each tuple consists of a photographer's name (String)
 * and their years of experience (Int).
 * @return A new list containing only the photographers whose experience is not equal to 3.
 */
fun getCompatiblePhotographers(photographers: List<Pair<String, Int>>): List<Pair<String, Int>> {

    // Initialize an empty list
    val compatiblePhotographers = mutableListOf<Pair<String, Int>>()

    // Iterate over each photographer tuple
    for (photographer in photographers) {
        // Check if the years of experience is not equal to 3
        if (photographer.second != 3) {
            // Add the photographer tuple to the compatible photographers list
            compatiblePhotographers.add(photographer)
        }
    }

    return compatiblePhotographers
}
/**
 * Given a list of tuples representing photographers, return a new list containing only the photographers whose
 * experience is not equal to 3.
 *
 * @param photographers A list of tuples where each tuple consists of a photographer's name (String)
 * and their years of experience (Int).
 * @return A new list containing only the photographers whose experience is not equal to 3.
 */
fun getCompatiblePhotographers(photographers: List<Pair<String, Int>>): List<Pair<String, Int>> {
/**
 * Given a list of tuples representing photographers, return a new list containing only the photographers whose
 * experience is not equal to 3.
 *
 * @param photographers A list of tuples where each tuple consists of a photographer's name (String)
 * and their years of experience (Int).
 * @return A new list containing only the photographers whose experience is not equal to 3.
 */
fun getCompatiblePhotographers(photographers: List<Pair<String, Int>>): List<Pair<String, Int>> {

    // Initialize an empty list
    val compatiblePhotographers = mutableListOf<Pair<String, Int>>()

    // Iterate over each photographer tuple
    for (photographer in photographers) {
        // Check if the years of experience is not equal to 3
        if (photographer.second != 3) {
            // Add the photographer tuple to the compatible photographers list
            compatiblePhotographers.add(photographer)
        }
    }

    return compatiblePhotographers
}