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