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