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