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