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