/**
 * This exercise is designed for a psychologist to analyze a patient's response and provide a recommendation based on their interest level and age.
 *
 * @param interestLevel A string representing the patient's interest level, can be "high" or "low".
 * @param age An integer representing the patient's age.
 * @return A string representing the psychologist's recommendation based on the patient's interest level and age.
 */
fun analyzingResponse(interestLevel: String, age: Int): String {

    return when {
        interestLevel == "high" -> {
            when {
                age < 18 -> "You seem to have a high interest level. Based on your age, it is recommended to involve your parents or guardians in the treatment process to provide proper guidance and support."
                age in 18..30 -> "You seem to have a high interest level. Based on your age, it is recommended to actively engage in self-reflection exercises and consider seeking professional assistance if required."
                else -> "You seem to have a high interest level."
            }
        }
        else -> "Interest level is not high."
    }
}
/**
 * This exercise is designed for a psychologist to analyze a patient's response and provide a recommendation based on their interest level and age.
 *
 * @param interestLevel A string representing the patient's interest level, can be "high" or "low".
 * @param age An integer representing the patient's age.
 * @return A string representing the psychologist's recommendation based on the patient's interest level and age.
 */
fun analyzingResponse(interestLevel: String, age: Int): String {
/**
 * This exercise is designed for a psychologist to analyze a patient's response and provide a recommendation based on their interest level and age.
 *
 * @param interestLevel A string representing the patient's interest level, can be "high" or "low".
 * @param age An integer representing the patient's age.
 * @return A string representing the psychologist's recommendation based on the patient's interest level and age.
 */
fun analyzingResponse(interestLevel: String, age: Int): String {

    return when {
        interestLevel == "high" -> {
            when {
                age < 18 -> "You seem to have a high interest level. Based on your age, it is recommended to involve your parents or guardians in the treatment process to provide proper guidance and support."
                age in 18..30 -> "You seem to have a high interest level. Based on your age, it is recommended to actively engage in self-reflection exercises and consider seeking professional assistance if required."
                else -> "You seem to have a high interest level."
            }
        }
        else -> "Interest level is not high."
    }
}