Beth wants to paint the four walls of her rectangular bedroom. Her room is 10 feet wide, 13 feet long, and 8 feet high. She will not paint her rectangular door, which is 3 feet wide and 7 feet high. What is the total area of the walls that Beth needs to paint?

A. 347 square feet

B. 368 square feet

C.578 square feet

D. 1019 square feet

E. 1040 square feet​