A pizzeria's gains and losses for 3 months are: $627, -$480, and $854. What is the pizzeria's total profit or loss after 3 months?
A. $1961
B. $147
C. $374
D. $1001