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