Selected accounts with some debits and credits omitted are presented as follows:Work in ProcessOct. 1 Balance 20,000 Oct. 31 Goods finished X31 Direct materials 96,70031 Direct labor 201,00031 Factory overhead XFinished GoodsOct. 1 Balance 52,00031 Goods finished 360,000If the balance of Work in Process at October 31 is $21,000. What was the amount of factory overhead applied in October?