Can someone explain this Ninja sim to me please?

NINJA Question - With respect to the ABC Stock, the company declared bankruptcy and was declared insolvent on August 3, Year 4. Asset Dates Amount Short-Term Gain or (Loss) Long-Term Gain or (Loss) ABC Stock Purchase 12/22/Year 3 26,000 Bankruptcy 8/3/Year 4 0 ($26,000) 0 What I have is wrong, see the correct answer below. Remarks: ABC Stock: This transaction results in a long-term capital loss of $26,000 ($0 − $26,000) because the asset is deemed to be worthless on the last day of the year, which means the holding period is more than 1 year. Can someone please explain to me why this is deemed worthless on the last day of the year when the dates are 12/22/Y3 and 8/3/Y4, which is less than a year. I'm not getting it and I'm getting worried/frustrated.