/**
 * This function takes two sets representing a list of astronomical objects and a list of observable objects.
 * It finds the intersection of these two sets and returns the common objects that can be observed.
 *
 * @param astronomicalObjects Set of astronomical objects
 * @param observableObjects Set of observable objects
 * @return Set of common objects that can be observed
 */
fun intersectionOfSets(astronomicalObjects: Set<String>, observableObjects: Set<String>): Set<String> {

    // Find the intersection of the two sets
    val commonObjects = astronomicalObjects.intersect(observableObjects)
    
    return commonObjects
}
/**
 * This function takes two sets representing a list of astronomical objects and a list of observable objects.
 * It finds the intersection of these two sets and returns the common objects that can be observed.
 *
 * @param astronomicalObjects Set of astronomical objects
 * @param observableObjects Set of observable objects
 * @return Set of common objects that can be observed
 */
fun intersectionOfSets(astronomicalObjects: Set<String>, observableObjects: Set<String>): Set<String> {
/**
 * This function takes two sets representing a list of astronomical objects and a list of observable objects.
 * It finds the intersection of these two sets and returns the common objects that can be observed.
 *
 * @param astronomicalObjects Set of astronomical objects
 * @param observableObjects Set of observable objects
 * @return Set of common objects that can be observed
 */
fun intersectionOfSets(astronomicalObjects: Set<String>, observableObjects: Set<String>): Set<String> {

    // Find the intersection of the two sets
    val commonObjects = astronomicalObjects.intersect(observableObjects)
    
    return commonObjects
}