/**
 * This function checks if a person is eligible for a specific vaccine based on age and health condition.
 * If the person is above 50 years old or has a chronic health condition, they are eligible, otherwise not.
 *
 * @param age integer representing the person's age in years
 * @param healthCondition boolean indicating whether the person has a chronic health condition or not
 * @return true if the person is eligible for vaccination, false otherwise
 */
fun adultVaccination(age: Int, healthCondition: Boolean): Boolean {

    if (age >= 50 || healthCondition) {
        return true
    } else {
        return false
    }
}
/**
 * This function checks if a person is eligible for a specific vaccine based on age and health condition.
 * If the person is above 50 years old or has a chronic health condition, they are eligible, otherwise not.
 *
 * @param age integer representing the person's age in years
 * @param healthCondition boolean indicating whether the person has a chronic health condition or not
 * @return true if the person is eligible for vaccination, false otherwise
 */
fun adultVaccination(age: Int, healthCondition: Boolean): Boolean {
/**
 * This function checks if a person is eligible for a specific vaccine based on age and health condition.
 * If the person is above 50 years old or has a chronic health condition, they are eligible, otherwise not.
 *
 * @param age integer representing the person's age in years
 * @param healthCondition boolean indicating whether the person has a chronic health condition or not
 * @return true if the person is eligible for vaccination, false otherwise
 */
fun adultVaccination(age: Int, healthCondition: Boolean): Boolean {

    if (age >= 50 || healthCondition) {
        return true
    } else {
        return false
    }
}