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