As I explain in my free lectures, if inventory increases over the period then absorption costing gives the higher profit. If inventory decreases over the period then marginal gives the higher profit. Here they produce more than then sell and so inventory is increasing.
I have no idea where you have got 50,000 from – there is not enough information in what you have typed to be able to calculate 50,000.