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