Piet Mondrian artist famous minimalist work consist color red yellow blue white Most people attribute style truth paint behave strange way mix primary color produce primary color a lesser know piece entitle pretentious rectangle a sequence primary color red yellow blue mixed follow while color look if distinct replace miss color if remove sequence in end color result color otherwise sequence result color white here example mixing piet color palette cell number 1 n each cell contain primary color Piet secretive share palette know color belong cellhowever perform k operation there kind operation in mix operation Piet choose subset cell mix color order the order necessarily increase index he record result color empty cell skip have effect mix process the mix change color value store cell in ry operation Piet choose subset cell any red cell subset yellow yellow cell subset red Blue cell remain unchanged in RB operation Piet choose subset cell any red cell subset blue blue cell subset red Yellow cell remain unchanged in yb operation Piet choose subset cell any yellow cell subset blue blue cell subset yellow Red cell remain unchanged Piet tell list operation perform chronological order index involve result color mix operation for mix operation know order cell mix give information determine color cell initial palette that find possible state palette operation perform describe situation impossible