## Editorial for DMOPC '18 Contest 5 P0 - A Digital Art Problem

Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.

Submitting an official solution before solving the problem yourself is a bannable offence.

Authors: AvaLovelace

For the Multiply and Screen modes, just output the results of applying the respective formulas to each of the 3 components. For the Overlay mode, we would need an if statement to check if each base component is less than or greater than or equal to , then use the correct formula for each component.