Question 6
Twelve cubes are arranged in a row: three blue, two yellow, three red and four green, in an unspecified order. One end cube is yellow and the other is red. All red cubes are consecutive, and all green cubes are consecutive. The tenth cube is blue. What colour is the sixth cube?

