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