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