Get your taxes done using TurboTax

the instructions say capital losses from 2023 need to be entered as negatives

 

so 5742 indicates a short-term capital gain and the 542 indicates a long-term capital gain. Thus there is no CLCO from 2023 to 2024. if either or both are losses you need to enter them as negatives