/**
 * Determine if a carpenter can cut through a given material using a specific tool.
 *
 * @param materialTuple A tuple representing the material, where each element is a String indicating the property of the material.
 * @param toolTuple A tuple representing the tool, where each element is a String indicating the capability of the tool.
 * @return True if the carpenter can cut through the material using the tool, False otherwise.
 */
fun canCutMaterial(materialTuple: List<String>, toolTuple: List<String>): Boolean {

    // Check if the material is fragile and the tool is not suitable for fragile materials
    if (materialTuple[0] == "fragile" && !(toolTuple[0] == "sharp" || toolTuple[0] == "fine-toothed")) {
        return false
    }

    // Check if the material is heat-resistant and the tool is not suitable for heat-resistant materials
    if (materialTuple[1] == "heat-resistant" && !(toolTuple[1] == "heat-blade" || toolTuple[1] == "laser")) {
        return false
    }

    // Check if the material is heavy and the tool is not suitable
    // Add additional conditions as needed

    return true
}
/**
 * Determine if a carpenter can cut through a given material using a specific tool.
 *
 * @param materialTuple A tuple representing the material, where each element is a String indicating the property of the material.
 * @param toolTuple A tuple representing the tool, where each element is a String indicating the capability of the tool.
 * @return True if the carpenter can cut through the material using the tool, False otherwise.
 */
fun canCutMaterial(materialTuple: List<String>, toolTuple: List<String>): Boolean {
/**
 * Determine if a carpenter can cut through a given material using a specific tool.
 *
 * @param materialTuple A tuple representing the material, where each element is a String indicating the property of the material.
 * @param toolTuple A tuple representing the tool, where each element is a String indicating the capability of the tool.
 * @return True if the carpenter can cut through the material using the tool, False otherwise.
 */
fun canCutMaterial(materialTuple: List<String>, toolTuple: List<String>): Boolean {

    // Check if the material is fragile and the tool is not suitable for fragile materials
    if (materialTuple[0] == "fragile" && !(toolTuple[0] == "sharp" || toolTuple[0] == "fine-toothed")) {
        return false
    }

    // Check if the material is heat-resistant and the tool is not suitable for heat-resistant materials
    if (materialTuple[1] == "heat-resistant" && !(toolTuple[1] == "heat-blade" || toolTuple[1] == "laser")) {
        return false
    }

    // Check if the material is heavy and the tool is not suitable
    // Add additional conditions as needed

    return true
}