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