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