Comments

Hack!!!

Problem E

Input: 3 2 2 2 3 3

Output: 1 2 1 2 3 2

My code passes the original question data points but not this data.