Get your taxes done using TurboTax

the cost is inventory so you get no current deduction. as you sell you take a pro rata portion of the cost as a deduction (the ending inventory decreases)