from typing import List


def body_25_to_coco_18(keypoints: List[float]) -> List[float]:
    """
    noqa

    BODY_25 to COCO_18 key mapping based on the following:
    https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/output.md

    The only difference is that COCO_18 doesn't have the MidHip (#8), Toes,
    Heels and Background (#19-#25) keypoints.

    """
    return keypoints[:8 * 3] + keypoints[9 * 3:19 * 3]