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