You are painting a ceiling in a room. The room measures 30 feet by 40 feet. One gallon of paint costs $25 and covers 200 square feet. How much will it cost to paint the ceiling?
A. $6
B. $17.50
C. $150
D. $1,200