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