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