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