def XYZ_to_xy(XYZ):
    """Convert XYZ to xy

    Args:
        XYZ ([float, float, float]: X, Y, Z input values

    Returns:
        .[float, float]

    """
    X, Y, Z = XYZ
    divider = (X + Y + Z)
    x = X / divider
    y = Y / divider
    return [x, y]