I have the following transactions that got executed on the same day but one after another at different times. Sold XYZ stock @100 for $30 loss. Sold ITM put on XYZ for $10. Bought XYZ stock $100. Covered put on XYZ for $10.5. Will final cost basis for XYZ stock held long in my account be $100 or $130?