/**
 * A firefighter task to determine if the person is qualified for a certain position.
 */
fun firefighterTask(age: Int, experience: Int) {

    if (age > 25) {
        if (experience > 5) {
            println("Congratulations! You are qualified for the position.")
        } else {
            println("Sorry, you do not have enough experience for the position.")
        }
    } else {
        println("Sorry, you do not meet the minimum age requirement for the position.")
    }
}
/**
 * A firefighter task to determine if the person is qualified for a certain position.
 */
fun firefighterTask(age: Int, experience: Int) {
/**
 * A firefighter task to determine if the person is qualified for a certain position.
 */
fun firefighterTask(age: Int, experience: Int) {

    if (age > 25) {
        if (experience > 5) {
            println("Congratulations! You are qualified for the position.")
        } else {
            println("Sorry, you do not have enough experience for the position.")
        }
    } else {
        println("Sorry, you do not meet the minimum age requirement for the position.")
    }
}