A sample of 12g of coke was heated till it underwent complete combustion. Carbon dioxide gas thus formed was collected and was found to weigh 44 g. Calculate the mass of oxygen consumed during this reaction.