Do the contributions and earnings for a Roth IRA recharacterized to a non-deductible traditional IRA go on line 1 on form 8606?

I ended up contributing to a Roth IRA in 2016, however earned over the income limit. I recharacterized my 2016 Roth IRA contributions to a Non Deductible Traditional IRA for 2016, and then converted the 2016 Non Deductible Traditional IRA contributions to a Roth IRA in 2017. I also set up a backdoor Roth IRA for 2017. 

I received a 1099-R in the amount of $5300 ($5000 contributions + $300 earnings) that is entered on line 15a on the 1040. 

My question is on the 8606 for 2016: Should the amount for line 1 be the original 2016 employee contributions of $5,000?  Or the employee contributions + earnings for a total of $5,300?  Or something else?   

Thanks for your help!