/**
 * Given two lists of crimes committed, return a tuple containing the common crimes.
 */
fun findCommonCrimes(crimes1: List<String>, crimes2: List<String>): List<String> {

    // Create an empty list to store common crimes
    val commonCrimes = mutableListOf<String>()

    // Iterate over the first list of crimes
    for (crime1 in crimes1) {
        // Check if the current crime is also in the second list of crimes
        if (crime1 in crimes2) {
            // If so, add it to the common crimes list
            commonCrimes.add(crime1)
        }
    }

    // Return the list of common crimes
    return commonCrimes
}
/**
 * Given two lists of crimes committed, return a tuple containing the common crimes.
 */
fun findCommonCrimes(crimes1: List<String>, crimes2: List<String>): List<String> {
/**
 * Given two lists of crimes committed, return a tuple containing the common crimes.
 */
fun findCommonCrimes(crimes1: List<String>, crimes2: List<String>): List<String> {

    // Create an empty list to store common crimes
    val commonCrimes = mutableListOf<String>()

    // Iterate over the first list of crimes
    for (crime1 in crimes1) {
        // Check if the current crime is also in the second list of crimes
        if (crime1 in crimes2) {
            // If so, add it to the common crimes list
            commonCrimes.add(crime1)
        }
    }

    // Return the list of common crimes
    return commonCrimes
}