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