How do you input/calculate adjusted cost basis if you sold on multiple dates?

I sold 5 shares of Stock A on 3 different weeks and my form says the cost basis is unknown. I have the numbers of when I purchased them but the quantity is not by 5's. Do I just take the average and input the same amount on the three different dates?