Paint Combination Problem

Company: Tiger Analytics

Difficulty: medium