Question 25
The organizer wants to paint the diagram below which comprises of 7 dotted grid squares with characters written on it.

Each grid square should not be of the same colour as any of its adjacent grid squares. For example, the grid square with S cannot have the same colour as those with M, O, 1 and 7. If there are four different colours to choose from, in how many different ways can the organizer paint the diagram?

Each grid square should not be of the same colour as any of its adjacent grid squares. For example, the grid square with S cannot have the same colour as those with M, O, 1 and 7. If there are four different colours to choose from, in how many different ways can the organizer paint the diagram?