How do I reflect the actual amount I profited from a house sale If my ex-wife and I split the profit and I'm filing single?

I personally made less than $250K but the program thinks I got 100% of the profit.