CodeChef February Long Challenge, Colored Array AC.