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