/**
 * Given two lists, return true if there is at least one common element between them, otherwise return false.
 *
 * @param list1 First list containing elements.
 * @param list2 Second list containing elements.
 * @return true if there is at least one common element between the two lists, false if there are no common elements.
 */
fun concatenationWithBooleans(list1: List<Any>, list2: List<Any>): Boolean {

    // Iterate over each element in list1
    for (elem in list1) {
        // Check if the current element is present in list2
        if (elem in list2) {
            // If a common element is found, return true
            return true
        }
    }
    // If no common elements are found, return false
    return false
}
/**
 * Given two lists, return true if there is at least one common element between them, otherwise return false.
 *
 * @param list1 First list containing elements.
 * @param list2 Second list containing elements.
 * @return true if there is at least one common element between the two lists, false if there are no common elements.
 */
fun concatenationWithBooleans(list1: List<Any>, list2: List<Any>): Boolean {
/**
 * Given two lists, return true if there is at least one common element between them, otherwise return false.
 *
 * @param list1 First list containing elements.
 * @param list2 Second list containing elements.
 * @return true if there is at least one common element between the two lists, false if there are no common elements.
 */
fun concatenationWithBooleans(list1: List<Any>, list2: List<Any>): Boolean {

    // Iterate over each element in list1
    for (elem in list1) {
        // Check if the current element is present in list2
        if (elem in list2) {
            // If a common element is found, return true
            return true
        }
    }
    // If no common elements are found, return false
    return false
}