I received 24,000 dollars back after a sale of stock but my cost was higher than my sale. it shows negative lost. but how do i claim the money i did get.

my proceeds on 1d  is 77179.26  my cost basis is 88300.19  but where do i put the income i did get.