<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def CMY_to_RGB(cobj, target_rgb, *args, **kwargs):
 """ Converts CMY to RGB via simple subtraction. NOTE: Returned values are in the range of 0-255. """

    rgb_r = 1.0 - cobj.cmy_c
    rgb_g = 1.0 - cobj.cmy_m
    rgb_b = 1.0 - cobj.cmy_y

    return target_rgb(rgb_r, rgb_g, rgb_b)