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