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