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