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