/**
 * Given two lists of tools owned by Alice and Bob, find the tools that are common to both of them.
 *
 * @param aliceTools A list of tools owned by Alice.
 * @param bobTools A list of tools owned by Bob.
 * @return A set of tools that are common to both Alice and Bob.
 */
fun findCommonTools(aliceTools: List<String>, bobTools: List<String>): Set<String> {

    val commonTools = aliceTools.filter { it in bobTools }.toSet()
    return commonTools
}
/**
 * Given two lists of tools owned by Alice and Bob, find the tools that are common to both of them.
 *
 * @param aliceTools A list of tools owned by Alice.
 * @param bobTools A list of tools owned by Bob.
 * @return A set of tools that are common to both Alice and Bob.
 */
fun findCommonTools(aliceTools: List<String>, bobTools: List<String>): Set<String> {
/**
 * Given two lists of tools owned by Alice and Bob, find the tools that are common to both of them.
 *
 * @param aliceTools A list of tools owned by Alice.
 * @param bobTools A list of tools owned by Bob.
 * @return A set of tools that are common to both Alice and Bob.
 */
fun findCommonTools(aliceTools: List<String>, bobTools: List<String>): Set<String> {

    val commonTools = aliceTools.filter { it in bobTools }.toSet()
    return commonTools
}