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