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