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