Which operation should be performed first according to the order of operations?

87 – 25 + 39 • 8 + 31 + 10

A.
31 + 10

B.
87 – 25

C.
25 + 39

D.
39 • 8