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