The number AAA is obtained by permuting the digits of the number BBB. Prove that the sum of the digits of 5A5A5A is equal to the sum of the digits of 5B5B5B.