The opening inventory for raw material and WIP is respectively $400, and $800, and there is no opening inventory for finished goods. The purchase of raw material during this period is $5000, and the closing inventory of raw material is $900. No other closing inventory.How much is the raw material consumed for this period?