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