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