There are several simple blending modes based on basic arithmetic operations, like the Addition, Subtraction, Difference, and Divide blending modes.
Here, you will implement the Addition blending mode to write the code for the additionBlend() function. It reads two lines from stdin, each with 3 integers: Red, Green, and Blue (separated by a space). Each line represents the color components for a Color instance.
To produce each target color component, the two respective input values are added. For example, the target color component red is calculated as red = c1.red + c2.red. In the case of integer presentation, if the sum is greater than 255, then the color component is set to the value of 255. In the case of float presentation, if the sum is greater than 1, then the component is set to the value of 1.
Your function should print the 3 color components of the target pixel as integers (separated by a space).