def METHOD_NAME(joints, config1_labels, config2_labels):
    """Map data from config1_labels to config2_labels.
    # Arguments
        joints: Array
        config1_labels: input joint configuration
        config2_labels: output joint configuration
    # Returns
        Array: joints maped to the config2_labels
    """
    mapped_joints = []
    for joint_arg in range(len(config2_labels)):
        joint_label = config2_labels[joint_arg]
        joint_index_in_config1_labels = config1_labels.index(joint_label)
        joint_in_config1_labels = joints[joint_index_in_config1_labels]
        mapped_joints.append(joint_in_config1_labels)
    mapped_joints = np.stack(mapped_joints, 0)
    return mapped_joints