We will take 5 colors and 5 cubes. We will paint them in such a way that in some particular position, no color is repeated on any cube to that side. If we look to all the 5 cubes, from front, we will see that no color is repeated. In the same way the same