Boxes numbered 1, 2, 3, 4, and 5 are kept in a row, and each is to be filled with either a red or a blue ball, such that no two adjacent boxes can be filled with blue balls. Then how many different arrangements are possible so that balls of a given colour are exactly identical in all respects?