KGS math club/solution 11 12

It is impossible.

For any two colours, say red and green, r-g modulo 3 cannot change. The initial position (modulo 3) is 1,0,2 and the target is 0,0,x (in any order), which is unattainable.