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