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