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