If I have a lot of stock sales, on my Form 1099-B, can I simply add the totals (proceeds) and Cost basis of all transactions, or do I have to enter them all?

For example, do I have to list each stock sale (apple, At&T, etc) or can I simply list the total reported of all sales?