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