Sterling got money for his birthday. He spent half of his money on a coat, $74 on sneakers, $42 for a pair of shoes, and had $77 left after shopping. How much money did Sterling get for his birthday?

A. $193

B. $236

C. $386

D. $296