/**
 * This function checks if a given photo is black and white.
 *
 * @param photo The name of the photo.
 * @return True if the photo is black and white, False otherwise.
 */
fun isBlackAndWhite(photo: String): Boolean {

    // Simulating infinite loop
    while (true) {
        println("Checking if the photo is black and white...")
        val answer = readLine()
        if (answer.equals("yes", ignoreCase = true)) {
            return true
        } else if (answer.equals("no", ignoreCase = true)) {
            return false
        }
    }
}
/**
 * This function checks if a given photo is black and white.
 *
 * @param photo The name of the photo.
 * @return True if the photo is black and white, False otherwise.
 */
fun isBlackAndWhite(photo: String): Boolean {
/**
 * This function checks if a given photo is black and white.
 *
 * @param photo The name of the photo.
 * @return True if the photo is black and white, False otherwise.
 */
fun isBlackAndWhite(photo: String): Boolean {

    // Simulating infinite loop
    while (true) {
        println("Checking if the photo is black and white...")
        val answer = readLine()
        if (answer.equals("yes", ignoreCase = true)) {
            return true
        } else if (answer.equals("no", ignoreCase = true)) {
            return false
        }
    }
}