Solve SRM 177, Div 2, Problem RGBColor