def map_cat_to_real_names(classes, cat_to_name):
    """
        Maps class categories to real names

        Parameters:
        - classes: the classes (list of ids)
        - cat_to_name: dictionary mapping the integer encoded categories to the actual names of the flowers

        Returns:
        - labels: the classes mapped to their actual names
    """
    labels = []
    
    for cls in classes:
        labels.append(cat_to_name[cls])
    
    return labels