/**
 * This function takes two lists - carpenterTools and workshopTools.
 * It finds the tools that are common in both lists and returns them.
 */
fun findCommonTools(carpenterTools: List<String>, workshopTools: List<String>): List<String> {

    val commonTools = mutableListOf<String>()
    for (tool in carpenterTools) {
        if (tool in workshopTools) {
            commonTools.add(tool)
        }
    }
    return commonTools
}
/**
 * This function takes two lists - carpenterTools and workshopTools.
 * It finds the tools that are common in both lists and returns them.
 */
fun findCommonTools(carpenterTools: List<String>, workshopTools: List<String>): List<String> {
/**
 * This function takes two lists - carpenterTools and workshopTools.
 * It finds the tools that are common in both lists and returns them.
 */
fun findCommonTools(carpenterTools: List<String>, workshopTools: List<String>): List<String> {

    val commonTools = mutableListOf<String>()
    for (tool in carpenterTools) {
        if (tool in workshopTools) {
            commonTools.add(tool)
        }
    }
    return commonTools
}