B. 4760. Four regular dice of different colours are placed next to each other, as shown in the figure. In each step, two adjacent cubes (with a face in common) are turned through \(\displaystyle 90^\circ\) about the axis passing through the centre and perpendicular to the common face. How many different arrangements can be achieved with a sequence of such steps?
Deadline expired on 10 February 2016.