def extract_properties(data:dict) -> tuple:
    """
    Extract properties from dictionary to generate a list of contours, a list
    of continents and an int for priority score.

    Args:
        data (dict): Dictionary with svg extracted data

    Returns:
        tuple: Tuple of (contour:list, continents:list, priority:int)
    """    
    contours, continents = [], []
    for key, d in data.items():
        if 'contour' in key: contours.append(d)
        if 'color' in key: continents.append(d)
    priority = data['priority']
    return contours, continents, priority