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