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