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