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