There are 6 baskets on the table. Each basket has 1, 0, 7, 17, 16 and 12 apples. Matt chose second, Olivia chose first, Sean chose third, Liam chose fourth, John chose fifth, and Emma chose sixth. How many apples did Sean and John choose in total?