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