Team A scored - 40, 10, 0.
Total score of Team A = - 40 + 10 + 0 = - 30
Team B scored 10, 0, - 40.
Total score of Team B = 10 + 0 + (- 40) = 10 + 0 - 40 = - 30
Thus, scores of both teams are same.
Yes, we can add integers in any order due to commutative property.