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