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