Where are abnormal amounts such as spoilage of production costs allocated to?

a. Cost of goods sold
b. Overhead
c. Materials and labor
d. WIP (Work in Progress)