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