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