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