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