from typing import Set


def get_genes_in_overlap(genes, overlap_list) -> Set[str]:
    """Select members from a gene list which are also in a given overlap(second list of genes)

        Parameters
        ----------
        genes : list
            ordered list of genes from which to select from
        overlap_list : list
            list of genes from which selected genes must be in
        cutoff

        Returns
        -------
            list of genes that are also present in the overlap list
        """
    top_genes = set()
    for gene in genes:
        if gene in overlap_list:
            top_genes.add(gene)
    return top_genes