Where do you enter the total of all regular Roth contributions (line 22 of Form 8606)?

I withdrew prior contributions to my Roth IRA, but the 1099-R questions don't enable me to enter total basis in the Roth, in order to complete the distribution minus basis calculation in order to show that the distribution is not taxable and penalty free.