def get_idx_to_cls(cls_to_idx_dict):
    """Method to get the dict containing integer to Empname mapping

    Args:
        cls_to_idx_dict ([dict]): A dictionary of the mapping. Key is the Emperor name and value is associated id

    Returns:
        [dict]: Key is the integer and the value is the Emperor Name.
    """
    cls_to_idx = {v: k for (k, v) in cls_to_idx_dict.items()}

    return cls_to_idx