#### Answer

$72072$ ways

#### Work Step by Step

There are $14$ total balls, and there are three groups of indistinguishable colors (the groups have 5, 2, and 7 balls).
Therefore, the amount of ways the balls can be arranged is $\frac{14!}{5!\times 2!\times 7!}=72072$ ways.