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