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