To determine the number of deer in a forest, a naturalist catches, tags, and releases 96 deer. Later, 50 deer are caught, and 40 have tags. Estimate the number of deer in the forest.

A. 240 deer
B. 300 deer
C. 400 deer
D. 480 deer