/**
 * A dancer is in good condition if their status is 'professional' and their age is below 30.
 *
 * Given the status and age of a dancer, return true if the dancer is in good condition, otherwise return false.
 *
 * Example:
 * - is_in_good_condition("professional", 25) -> true
 * - is_in_good_condition("amateur", 35) -> false
 *
 * @param status a string representing the status of the dancer
 * @param age an integer representing the age of the dancer
 * @return a boolean indicating whether the dancer is in good condition or not
 */
fun isInGoodCondition(status: String, age: Int): Boolean {

    return status == "professional" && age < 30
}
/**
 * A dancer is in good condition if their status is 'professional' and their age is below 30.
 *
 * Given the status and age of a dancer, return true if the dancer is in good condition, otherwise return false.
 *
 * Example:
 * - is_in_good_condition("professional", 25) -> true
 * - is_in_good_condition("amateur", 35) -> false
 *
 * @param status a string representing the status of the dancer
 * @param age an integer representing the age of the dancer
 * @return a boolean indicating whether the dancer is in good condition or not
 */
fun isInGoodCondition(status: String, age: Int): Boolean {
/**
 * A dancer is in good condition if their status is 'professional' and their age is below 30.
 *
 * Given the status and age of a dancer, return true if the dancer is in good condition, otherwise return false.
 *
 * Example:
 * - is_in_good_condition("professional", 25) -> true
 * - is_in_good_condition("amateur", 35) -> false
 *
 * @param status a string representing the status of the dancer
 * @param age an integer representing the age of the dancer
 * @return a boolean indicating whether the dancer is in good condition or not
 */
fun isInGoodCondition(status: String, age: Int): Boolean {

    return status == "professional" && age < 30
}