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