I sold stock that was both inherited and gifted. The only way I could fill in the forms on turbo t was to claim them as bought. Is that okay?

I used dates gift was received and the day of death.