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