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