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