Find the number of ways of arranging the letters of the word 'ARRANGE' so that the two 'R's are not next to each other.