Ramon ate at a restaurant and gave the server a $4 tip. The tip was 20% of the cost of the meal. How much was the meal?

A$24

B.$16

C.$20

D.$8