/**
 * This function takes two sets as arguments: historical_events and important_years.
 * It removes any historical events from the historical_events set if they contain a year present in the important_years set, and returns the modified historical_events set.
 */
fun removeIntersection(historicalEvents: MutableSet<String>, importantYears: Set<Int>): MutableSet<String> {

    for (event in historicalEvents.toMutableSet()) {
        for (year in importantYears) {
            if (year.toString() in event) {
                historicalEvents.remove(event)
            }
        }
    }
    return historicalEvents
}
/**
 * This function takes two sets as arguments: historical_events and important_years.
 * It removes any historical events from the historical_events set if they contain a year present in the important_years set, and returns the modified historical_events set.
 */
fun removeIntersection(historicalEvents: MutableSet<String>, importantYears: Set<Int>): MutableSet<String> {
/**
 * This function takes two sets as arguments: historical_events and important_years.
 * It removes any historical events from the historical_events set if they contain a year present in the important_years set, and returns the modified historical_events set.
 */
fun removeIntersection(historicalEvents: MutableSet<String>, importantYears: Set<Int>): MutableSet<String> {

    for (event in historicalEvents.toMutableSet()) {
        for (year in importantYears) {
            if (year.toString() in event) {
                historicalEvents.remove(event)
            }
        }
    }
    return historicalEvents
}