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