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