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