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