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