There are 3 identical black balls, 4 identical white balls and 2 identical red balls. the number of ways they can be arranged in a row so that at least one ball separates the balls of the same colour is:_____.