1. A five-storeyed building with floors from I to V is painted using four different colours and only one colour is used to paint a floor.Consider the following statements:
- The middle three floors are painted in different colours.
- The second (II) and the fourth (IV) floors are painted in different colours.
- The first (I) and the fifth (V) floors are painted red.
To ensure that any two consecutive floors have different colours