Which of the following is a valid use of the associative property of addition?
A. (23 + 15) – 5 = 23+ (15 – 5)
B. (23 – 15) + 5 = 23 – (15 + 5)